17 lines
323 B
TypeScript
17 lines
323 B
TypeScript
|
// @module: amd
|
||
|
// @preserveConstEnums: true
|
||
|
// @baseUrl: /proj
|
||
|
// @filename: /proj/defs/cc.ts
|
||
|
export const enum CharCode {
|
||
|
A,
|
||
|
B
|
||
|
}
|
||
|
// @filename: /proj/component/file.ts
|
||
|
|
||
|
import { CharCode } from 'defs/cc';
|
||
|
export class User {
|
||
|
method(input: number) {
|
||
|
if (CharCode.A === input) {}
|
||
|
}
|
||
|
}
|