21 lines
290 B
TypeScript
21 lines
290 B
TypeScript
|
//@noUnusedLocals:true
|
||
|
//@noUnusedParameters:true
|
||
|
|
||
|
// @Filename: file1.ts
|
||
|
export class Calculator {
|
||
|
handleChar() {}
|
||
|
}
|
||
|
|
||
|
export function test() {
|
||
|
|
||
|
}
|
||
|
|
||
|
export function test2() {
|
||
|
|
||
|
}
|
||
|
|
||
|
// @Filename: file2.ts
|
||
|
import {Calculator, test, test2} from "./file1"
|
||
|
|
||
|
test();
|
||
|
test2();
|