Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some dependency updates #1768

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/react-component-lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ Note that the server will use a self-signed certificate, so your web browser wil
Since Create React App doesn’t support server rendering, you might be wondering how to make `<meta>` tags dynamic and reflect the current URL. To solve this, we recommend to add placeholders into the HTML, like this:

```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="__OG_TITLE__" />
Expand Down
2 changes: 1 addition & 1 deletion example/react-localstorage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ Note that the server will use a self-signed certificate, so your web browser wil
Since Create React App doesn’t support server rendering, you might be wondering how to make `<meta>` tags dynamic and reflect the current URL. To solve this, we recommend to add placeholders into the HTML, like this:

```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="__OG_TITLE__" />
Expand Down
2 changes: 1 addition & 1 deletion example/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ Note that the server will use a self-signed certificate, so your web browser wil
Since Create React App doesn’t support server rendering, you might be wondering how to make `<meta>` tags dynamic and reflect the current URL. To solve this, we recommend to add placeholders into the HTML, like this:

```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="__OG_TITLE__" />
Expand Down
2 changes: 1 addition & 1 deletion example/v9.x.x/react-fluent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ Note that the server will use a self-signed certificate, so your web browser wil
Since Create React App doesn’t support server rendering, you might be wondering how to make `<meta>` tags dynamic and reflect the current URL. To solve this, we recommend to add placeholders into the HTML, like this:

```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="__OG_TITLE__" />
Expand Down
2 changes: 1 addition & 1 deletion example/v9.x.x/react-icu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ Note that the server will use a self-signed certificate, so your web browser wil
Since Create React App doesn’t support server rendering, you might be wondering how to make `<meta>` tags dynamic and reflect the current URL. To solve this, we recommend to add placeholders into the HTML, like this:

```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="__OG_TITLE__" />
Expand Down
2 changes: 1 addition & 1 deletion example/v9.x.x/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ Note that the server will use a self-signed certificate, so your web browser wil
Since Create React App doesn’t support server rendering, you might be wondering how to make `<meta>` tags dynamic and reflect the current URL. To solve this, we recommend to add placeholders into the HTML, like this:

```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta property="og:title" content="__OG_TITLE__" />
Expand Down
10 changes: 5 additions & 5 deletions icu.macro.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ declare module 'react-i18next/icu.macro' {
? // support the standard properties of Plural
PluralSubProps<Key, Ns>[P]
: // this supports infinite $0={..} or $123={..}
// technically it also supports $-1={..} and $2.3={..} but we don't need to
// worry since that's invalid syntax.
P extends `$${number}`
? string | ReactElement
: never;
// technically it also supports $-1={..} and $2.3={..} but we don't need to
// worry since that's invalid syntax.
P extends `$${number}`
? string | ReactElement
: never;
};

interface SelectSubProps {
Expand Down
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ export type UseTranslationResponse<Ns extends Namespace, KPrefix> = [
export type FallbackNs<Ns> = Ns extends undefined
? _DefaultNamespace
: Ns extends Namespace
? Ns
: _DefaultNamespace;
? Ns
: _DefaultNamespace;

export function useTranslation<
Ns extends FlatNamespace | $Tuple<FlatNamespace> | undefined = undefined,
Expand Down
Loading
Loading