Skip to content

Commit 0bfed54

Browse files
committed
Add explicit reference to typescript-internal file
1 parent 0aeeaef commit 0bfed54

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"types": "dist/index.d.ts",
2020
"scripts": {
2121
"build": "tsc -p tsconfig.json && npm run build-lualib",
22-
"build-lualib": "ts-node --files ./build_lualib.ts",
23-
"pretest": "npm run lint && ts-node --files --transpile-only ./build_lualib.ts",
22+
"build-lualib": "ts-node ./build_lualib.ts",
23+
"pretest": "npm run lint && ts-node --transpile-only ./build_lualib.ts",
2424
"test": "jest",
2525
"lint": "npm run lint:tslint && npm run lint:prettier",
2626
"lint:prettier": "prettier --check \"**/*.{js,ts,yml,json,md}\" || (echo 'Run `npm run fix:prettier` to fix it.' && exit 1)",

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import { emitTranspiledFiles, OutputFile } from "./Emit";
77
import { transpile, TranspiledFile, TranspileResult } from "./Transpile";
88

99
export {
10+
createDiagnosticReporter,
1011
parseCommandLine,
1112
ParsedCommandLine,
1213
updateParsedConfigFile,
13-
createDiagnosticReporter,
1414
} from "./CommandLineParser";
1515
export * from "./CompilerOptions";
1616
export * from "./Emit";
@@ -21,6 +21,8 @@ export * from "./LuaTransformer";
2121
export * from "./Transpile";
2222
export * from "./TranspileError";
2323

24+
/// <reference path="./typescript-internal" />
25+
2426
export interface TranspileFilesResult {
2527
diagnostics: ts.Diagnostic[];
2628
emitResult: OutputFile[];

0 commit comments

Comments
 (0)