@vue/compiler-sfc 2.7.10 → 2.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compiler-sfc.d.ts +5 -0
- package/dist/compiler-sfc.js +9650 -9648
- package/package.json +2 -2
package/dist/compiler-sfc.d.ts
CHANGED
|
@@ -263,6 +263,11 @@ declare type ModuleOptions = {
|
|
|
263
263
|
|
|
264
264
|
export declare function parse(options: SFCParseOptions): SFCDescriptor;
|
|
265
265
|
|
|
266
|
+
/**
|
|
267
|
+
* Parse a single-file component (*.vue) file into an SFC Descriptor Object.
|
|
268
|
+
*/
|
|
269
|
+
export declare function parseComponent(source: string, options?: VueTemplateCompilerParseOptions): SFCDescriptor;
|
|
270
|
+
|
|
266
271
|
declare interface RawSourceMap extends StartOfSourceMap {
|
|
267
272
|
version: string;
|
|
268
273
|
sources: string[];
|