From: Evan You Date: Fri, 14 Apr 2023 12:53:21 +0000 (+0800) Subject: chore: comments [ci skip] X-Git-Tag: v3.3.0-alpha.10~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9f5e14c7c7eb279bea538f69548fc6badd7df92;p=thirdparty%2Fvuejs%2Fcore.git chore: comments [ci skip] --- diff --git a/packages/compiler-sfc/src/compileScript.ts b/packages/compiler-sfc/src/compileScript.ts index 989f61cb44..c561a77a49 100644 --- a/packages/compiler-sfc/src/compileScript.ts +++ b/packages/compiler-sfc/src/compileScript.ts @@ -111,7 +111,9 @@ export interface SFCScriptCompileOptions { */ defineModel?: boolean /** - * + * File system access methods to be used when resolving types + * imported in SFC macros. Defaults to ts.sys in Node.js, can be overwritten + * to use a virtual file system for use in browsers (e.g. in REPLs) */ fs?: { fileExists(file: string): boolean