From d4a0d03301e534977ac5bdc9cf12a506cb14e7f9 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 12 Mar 2022 19:42:49 +0100 Subject: [PATCH] fix(core): update --- ts/tsbuild.classes.compiler.ts | 2 +- ts/tsbuild.exports.ts | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ts/tsbuild.classes.compiler.ts b/ts/tsbuild.classes.compiler.ts index 5c5f173..aeb6226 100644 --- a/ts/tsbuild.classes.compiler.ts +++ b/ts/tsbuild.classes.compiler.ts @@ -1,6 +1,6 @@ // import all the stuff we need import * as plugins from './tsbuild.plugins.js'; -import { CompilerOptions, ScriptTarget, ModuleKind } from 'typescript'; +import { CompilerOptions, ScriptTarget, ModuleKind } from './tsbuild.exports.js'; /** diff --git a/ts/tsbuild.exports.ts b/ts/tsbuild.exports.ts index a061bc3..8177787 100644 --- a/ts/tsbuild.exports.ts +++ b/ts/tsbuild.exports.ts @@ -1,7 +1,13 @@ import * as plugins from './tsbuild.plugins.js'; -import { CompilerOptions } from 'typescript'; +import type { CompilerOptions, ScriptTarget, ModuleKind } from 'typescript'; import { compiler, mergeCompilerOptions } from './tsbuild.classes.compiler.js'; +export type { + CompilerOptions, + ScriptTarget, + ModuleKind +} + export * from './tsbuild.classes.compiler.js'; /**