]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: comments [ci skip]
authorEvan You <yyx990803@gmail.com>
Fri, 14 Apr 2023 12:53:21 +0000 (20:53 +0800)
committerEvan You <yyx990803@gmail.com>
Sat, 15 Apr 2023 14:08:39 +0000 (22:08 +0800)
packages/compiler-sfc/src/compileScript.ts

index 989f61cb44466384dd0ed7fc4ed24555ee5ce725..c561a77a49d556e7272e9f9f9fb6a094fe40863e 100644 (file)
@@ -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