Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

Commit d05f74d

Browse files
authored
fix: Don't import from typescript source files (#125)
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 d05f74d

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)