Skip to content

Commit 84653ca

Browse files
committed
fix
1 parent 126ef80 commit 84653ca

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

benchmark/complex-jit-aot.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
createCoreContext,
77
registerMessageCompiler,
88
translate
9-
} from '@intlify/core-base'
9+
} from '@intlify/core-base'
1010
import { baseCompile } from '@intlify/message-compiler'
1111
import { bench, run } from 'mitata' // eslint-disable-line import/namespace -- FIXME:
1212
import { dirname, resolve } from 'node:path'

benchmark/complex-jit.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
createCoreContext,
77
registerMessageCompiler,
88
translate
9-
} from '@intlify/core-base'
9+
} from '@intlify/core-base'
1010
import { bench, run } from 'mitata' // eslint-disable-line import/namespace -- FIXME:
1111
import { dirname, resolve } from 'node:path'
1212
import { createI18n } from 'vue-i18n'

benchmark/complex.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { clearCompileCache, createCoreContext, translate } from '@intlify/core-base'
1+
import { clearCompileCache, createCoreContext, translate } from '@intlify/core-base'
22
import { bench, run } from 'mitata' // eslint-disable-line import/namespace -- FIXME:
33
import { dirname, resolve } from 'node:path'
44
import { createI18n } from 'vue-i18n'

benchmark/simple-jit-aot.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
createCoreContext,
77
registerMessageCompiler,
88
translate
9-
} from '@intlify/core-base'
9+
} from '@intlify/core-base'
1010
import { baseCompile } from '@intlify/message-compiler'
1111
import { bench, run } from 'mitata' // eslint-disable-line import/namespace -- FIXME:
1212
import { dirname, resolve } from 'node:path'

benchmark/simple-jit.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
createCoreContext,
77
registerMessageCompiler,
88
translate
9-
} from '@intlify/core-base'
9+
} from '@intlify/core-base'
1010
import { bench, run } from 'mitata' // eslint-disable-line import/namespace -- FIXME:
1111
import { dirname, resolve } from 'node:path'
1212
import { createI18n } from 'vue-i18n'

benchmark/simple.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { clearCompileCache, createCoreContext, translate } from '@intlify/core-base'
1+
import { clearCompileCache, createCoreContext, translate } from '@intlify/core-base'
22
import { bench, run } from 'mitata' // eslint-disable-line import/namespace -- FIXME:
33
import { dirname, resolve } from 'node:path'
44
import { createI18n } from 'vue-i18n'

docs/api/v11/general.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -741,21 +741,21 @@ linked(key: Path, modifier?: string, type?: string): MessageType<T>;
741741

742742
A resolve message.
743743

744-
### linked(key, optoins)
744+
### linked(key, options)
745745

746746
Overloaded `linked`
747747

748748
**Signature:**
749749
```typescript
750-
linked(key: Path, optoins?: LinkedOptions): MessageType<T>;
750+
linked(key: Path, options?: LinkedOptions): MessageType<T>;
751751
```
752752

753753
#### Parameters
754754

755755
| Parameter | Type | Description |
756756
| --- | --- | --- |
757757
| key | Path | A message key |
758-
| optoins | LinkedOptions | An [linked options](#linkedoptions) |
758+
| options | LinkedOptions | An [linked options](#linkedoptions) |
759759

760760
#### Returns
761761

packages/core-base/src/runtime.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,11 @@ export interface MessageContext<T = string> {
232232
* Overloaded `linked`
233233
*
234234
* @param key - A message key
235-
* @param optoins - An {@link LinkedOptions | linked options}
235+
* @param options - An {@link LinkedOptions | linked options}
236236
*
237237
* @returns A resolve message.
238238
*/
239-
linked(key: Path, optoins?: LinkedOptions): MessageType<T>
239+
linked(key: Path, options?: LinkedOptions): MessageType<T>
240240
/** @internal */
241241
message(key: Path): MessageFunction<T>
242242
/**

0 commit comments

Comments
 (0)