Skip to content

Commit b8fee73

Browse files
committed
refactor: move file
1 parent fb5884a commit b8fee73

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createLanguageServicePlugin } from '@volar/typescript/lib/quickstart/createLanguageServicePlugin.js';
2-
import { createAssetLanguagePlugin } from './language-service/language.js';
2+
import { createAssetLanguagePlugin } from './language-plugin.js';
33
import { getAssetPluginOptions } from './option.js';
44

55
export = createLanguageServicePlugin((ts, info) => {

src/language-service/language.ts renamed to src/language-plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import path from 'node:path';
22
import type { LanguagePlugin } from '@volar/language-core';
33
import type {} from '@volar/typescript';
44
import ts from 'typescript/lib/tsserverlibrary';
5-
import { getDtsContent } from '../dts';
6-
import type { AssetPluginOptions } from '../option';
5+
import { getDtsContent } from './dts';
6+
import type { AssetPluginOptions } from './option';
77

88
export function createAssetLanguagePlugin(
99
sys: ts.System,

0 commit comments

Comments
 (0)