Skip to content

Commit 632e1ea

Browse files
authored
export vue/runtime-core type extending (#121)
1 parent 63d5e79 commit 632e1ea

File tree

141 files changed

+2172
-361
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+2172
-361
lines changed

docs/vue-i18n.basecompile.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [vue-i18n](./vue-i18n.md) &gt; [baseCompile](./vue-i18n.basecompile.md)
4+
5+
## baseCompile() function
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
export declare function baseCompile(source: string, options?: CompileOptions): CompileResult;
11+
```
12+
13+
## Parameters
14+
15+
| Parameter | Type | Description |
16+
| --- | --- | --- |
17+
| source | string | |
18+
| options | [CompileOptions](./vue-i18n.compileoptions.md) | |
19+
20+
<b>Returns:</b>
21+
22+
CompileResult
23+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [vue-i18n](./vue-i18n.md) &gt; [BaseFormatProps](./vue-i18n.baseformatprops.md) &gt; [locale](./vue-i18n.baseformatprops.locale.md)
4+
5+
## BaseFormatProps.locale property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
locale?: Locale;
11+
```

docs/vue-i18n.baseformatprops.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [vue-i18n](./vue-i18n.md) &gt; [BaseFormatProps](./vue-i18n.baseformatprops.md)
4+
5+
## BaseFormatProps interface
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
export interface BaseFormatProps
11+
```
12+
13+
## Properties
14+
15+
| Property | Type | Description |
16+
| --- | --- | --- |
17+
| [locale](./vue-i18n.baseformatprops.locale.md) | [Locale](./vue-i18n.locale.md) | |
18+
| [scope](./vue-i18n.baseformatprops.scope.md) | [ComponetI18nScope](./vue-i18n.componeti18nscope.md) | |
19+
| [tag](./vue-i18n.baseformatprops.tag.md) | string \| object | |
20+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [vue-i18n](./vue-i18n.md) &gt; [BaseFormatProps](./vue-i18n.baseformatprops.md) &gt; [scope](./vue-i18n.baseformatprops.scope.md)
4+
5+
## BaseFormatProps.scope property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
scope?: ComponetI18nScope;
11+
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [vue-i18n](./vue-i18n.md) &gt; [BaseFormatProps](./vue-i18n.baseformatprops.md) &gt; [tag](./vue-i18n.baseformatprops.tag.md)
4+
5+
## BaseFormatProps.tag property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
tag?: string | object;
11+
```

docs/vue-i18n.clearcompilecache.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [vue-i18n](./vue-i18n.md) &gt; [clearCompileCache](./vue-i18n.clearcompilecache.md)
4+
5+
## clearCompileCache() function
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
export declare function clearCompileCache(): void;
11+
```
12+
<b>Returns:</b>
13+
14+
void
15+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [vue-i18n](./vue-i18n.md) &gt; [clearDateTimeFormat](./vue-i18n.cleardatetimeformat.md)
4+
5+
## clearDateTimeFormat() function
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
export declare function clearDateTimeFormat<DateTimeFormats = {}, Message = string>(ctx: RuntimeDateTimeContext<DateTimeFormats, Message>, locale: Locale, format: DateTimeFormat): void;
11+
```
12+
13+
## Parameters
14+
15+
| Parameter | Type | Description |
16+
| --- | --- | --- |
17+
| ctx | [RuntimeDateTimeContext](./vue-i18n.runtimedatetimecontext.md)<!-- -->&lt;DateTimeFormats, Message&gt; | |
18+
| locale | [Locale](./vue-i18n.locale.md) | |
19+
| format | DateTimeFormat | |
20+
21+
<b>Returns:</b>
22+
23+
void
24+

docs/vue-i18n.clearnumberformat.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [vue-i18n](./vue-i18n.md) &gt; [clearNumberFormat](./vue-i18n.clearnumberformat.md)
4+
5+
## clearNumberFormat() function
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
export declare function clearNumberFormat<NumberFormats, Message = string>(ctx: RuntimeNumberContext<NumberFormats, Message>, locale: Locale, format: NumberFormat): void;
11+
```
12+
13+
## Parameters
14+
15+
| Parameter | Type | Description |
16+
| --- | --- | --- |
17+
| ctx | [RuntimeNumberContext](./vue-i18n.runtimenumbercontext.md)<!-- -->&lt;NumberFormats, Message&gt; | |
18+
| locale | [Locale](./vue-i18n.locale.md) | |
19+
| format | NumberFormat | |
20+
21+
<b>Returns:</b>
22+
23+
void
24+

docs/vue-i18n.compile.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [vue-i18n](./vue-i18n.md) &gt; [compile](./vue-i18n.compile.md)
4+
5+
## compile() function
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
export declare function compile<T = string>(source: string, options?: CompileOptions): MessageFunction<T>;
11+
```
12+
13+
## Parameters
14+
15+
| Parameter | Type | Description |
16+
| --- | --- | --- |
17+
| source | string | |
18+
| options | [CompileOptions](./vue-i18n.compileoptions.md) | |
19+
20+
<b>Returns:</b>
21+
22+
[MessageFunction](./vue-i18n.messagefunction.md)<!-- -->&lt;T&gt;
23+

docs/vue-i18n.compiledomain.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [vue-i18n](./vue-i18n.md) &gt; [CompileDomain](./vue-i18n.compiledomain.md)
4+
5+
## CompileDomain type
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
export declare type CompileDomain = 'tokenizer' | 'parser' | 'generator' | 'transformer' | 'compiler';
11+
```

0 commit comments

Comments
 (0)