mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
99 lines
2.9 KiB
TypeScript
99 lines
2.9 KiB
TypeScript
currentDirectory::/user/username/projects/noEmitOnError
|
|
useCaseSensitiveFileNames::true
|
|
Input::
|
|
//// [/user/username/projects/noEmitOnError/shared/types/db.ts] *new*
|
|
export interface A {
|
|
name: string;
|
|
}
|
|
//// [/user/username/projects/noEmitOnError/src/main.ts] *new*
|
|
import { A } from "../shared/types/db";
|
|
export const a = class { private p = 10; };
|
|
//// [/user/username/projects/noEmitOnError/src/other.ts] *new*
|
|
console.log("hi");
|
|
export { }
|
|
//// [/user/username/projects/noEmitOnError/tsconfig.json] *new*
|
|
{
|
|
"compilerOptions": {
|
|
"outDir": "./dev-build",
|
|
"declaration": false,
|
|
"incremental": false,
|
|
"noEmitOnError": true,
|
|
},
|
|
}
|
|
|
|
tsgo
|
|
ExitStatus:: Success
|
|
Output::
|
|
//// [/home/src/tslibs/TS/Lib/lib.es2025.full.d.ts] *Lib*
|
|
/// <reference no-default-lib="true"/>
|
|
interface Boolean {}
|
|
interface Function {}
|
|
interface CallableFunction {}
|
|
interface NewableFunction {}
|
|
interface IArguments {}
|
|
interface Number { toExponential: any; }
|
|
interface Object {}
|
|
interface RegExp {}
|
|
interface String { charAt: any; }
|
|
interface Array<T> { length: number; [n: number]: T; }
|
|
interface ReadonlyArray<T> {}
|
|
interface SymbolConstructor {
|
|
(desc?: string | number): symbol;
|
|
for(name: string): symbol;
|
|
readonly toStringTag: symbol;
|
|
}
|
|
declare var Symbol: SymbolConstructor;
|
|
interface Symbol {
|
|
readonly [Symbol.toStringTag]: string;
|
|
}
|
|
declare const console: { log(msg: any): void; };
|
|
//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] *new*
|
|
export {};
|
|
|
|
//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] *new*
|
|
export const a = class {
|
|
p = 10;
|
|
};
|
|
|
|
//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] *new*
|
|
console.log("hi");
|
|
export {};
|
|
|
|
|
|
|
|
|
|
Edit [0]:: no change
|
|
|
|
tsgo
|
|
ExitStatus:: Success
|
|
Output::
|
|
//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] *rewrite with same content*
|
|
//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] *rewrite with same content*
|
|
//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] *rewrite with same content*
|
|
|
|
|
|
|
|
Edit [1]:: Fix error
|
|
//// [/user/username/projects/noEmitOnError/src/main.ts] *modified*
|
|
import { A } from "../shared/types/db";
|
|
export const a = class { p = 10; };
|
|
|
|
tsgo
|
|
ExitStatus:: Success
|
|
Output::
|
|
//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] *rewrite with same content*
|
|
//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] *rewrite with same content*
|
|
//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] *rewrite with same content*
|
|
|
|
|
|
|
|
Edit [2]:: no change
|
|
|
|
tsgo
|
|
ExitStatus:: Success
|
|
Output::
|
|
//// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] *rewrite with same content*
|
|
//// [/user/username/projects/noEmitOnError/dev-build/src/main.js] *rewrite with same content*
|
|
//// [/user/username/projects/noEmitOnError/dev-build/src/other.js] *rewrite with same content*
|
|
|