Skip to content

Commit 67c456c

Browse files
authored
Don't import from typescript source files
Importing from typescript source files distributed with a module causes user projects to type check those source files using the tsconfig of the user project rather than that of the module, with stricter settings raising errors that would otherwise go unnoticed. See microsoft/TypeScript#40426
1 parent 77d7baf commit 67c456c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TemplateCompileOptions } from '@vue/component-compiler-utils/lib/compileTemplate'
1+
import { TemplateCompileOptions } from '@vue/component-compiler-utils'
22
import { normalizeComponentCode } from './utils/componentNormalizer'
33
import { vueHotReloadCode } from './utils/vueHotReload'
44
import fs from 'fs'

0 commit comments

Comments
 (0)