Skip to content

Commit

Permalink
some dependency updates (#1768)
Browse files Browse the repository at this point in the history
  • Loading branch information
VIKTORVAV99 authored Jul 16, 2024
1 parent c181ede commit cf539c5
Show file tree
Hide file tree
Showing 10 changed files with 4,050 additions and 6,795 deletions.
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

0 comments on commit cf539c5

Please sign in to comment.