Skip to content

Commit 5c34b1b

Browse files
kazuponyyx990803
authored andcommitted
fix type definition links (#4517)
* fix type definition links NOTE: Everytime, we tried not to change links. * update flow links
1 parent d212a10 commit 5c34b1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/vue-template-compiler/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The optional `options` object can contain the following:
3838

3939
- `modules`
4040

41-
An array of compiler modules. For details on compiler modules, refer to its [type definition](https://github.com/vuejs/vue/blob/dev/flow/compiler.js#L35) and the [built-in modules](https://github.com/vuejs/vue/tree/dev/src/platforms/web/compiler/modules).
41+
An array of compiler modules. For details on compiler modules, refer to the `ModuleOptions` type in [flow declarations](https://github.com/vuejs/vue/blob/dev/flow/compiler.js) and the [built-in modules](https://github.com/vuejs/vue/tree/dev/src/platforms/web/compiler/modules).
4242

4343
- `directives`
4444

@@ -80,7 +80,7 @@ This is only useful at runtime with pre-configured builds, so it doesn't accept
8080
8181
### compiler.parseComponent(file, [options])
8282
83-
Parse a SFC (single-file component, or `*.vue` file) into a [descriptor](https://github.com/vuejs/vue/blob/dev/flow/compiler.js#L137). This is used in SFC build tools like `vue-loader` and `vueify`.
83+
Parse a SFC (single-file component, or `*.vue` file) into a descriptor (refer to the `SFCDescriptor` type in [flow declarations](https://github.com/vuejs/vue/blob/dev/flow/compiler.js)). This is used in SFC build tools like `vue-loader` and `vueify`.
8484
8585
#### Options
8686

0 commit comments

Comments
 (0)