You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
603 B
31 lines
603 B
2 years ago
|
//i hate typescript
|
||
|
declare module NodeJS {
|
||
|
interface Global {
|
||
|
COMPTIME_STR: string
|
||
|
COMPTIME_NUM: number
|
||
|
}
|
||
|
}
|
||
|
declare const COMPTIME_STR
|
||
|
declare const COMPTIME_NUM
|
||
|
|
||
2 years ago
|
console.log("Hello, world!")
|
||
|
|
||
|
//#IF IS_TRUE
|
||
|
console.log("#IF works")
|
||
|
//#END
|
||
|
//#IF IS_FALSE
|
||
|
console.log("#IF does not work (ignore the last one if this shows up)")
|
||
|
//#END
|
||
|
|
||
|
//#IfNoT IS_FALSE
|
||
|
console.log("#IFNOT works")
|
||
|
//#END
|
||
|
//#ifnot IS_TRUE
|
||
|
console.log("#IFNOT does not work (disregard prior)")
|
||
|
//#end
|
||
|
|
||
|
console.log(COMPTIME_STR)
|
||
2 years ago
|
console.log(COMPTIME_NUM)
|
||
|
|
||
|
let test2: string = "Hello, Typescript!"
|
||
|
console.log(test2)
|