mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
718 B
TypeScript
24 lines
718 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass1.ts] ////
|
|
|
|
//// [parserClass1.ts]
|
|
export class NullLogger implements ILogger {
|
|
public information(): boolean { return false; }
|
|
public debug(): boolean { return false; }
|
|
public warning(): boolean { return false; }
|
|
public error(): boolean { return false; }
|
|
public fatal(): boolean { return false; }
|
|
public log(s: string): void {
|
|
}
|
|
}
|
|
|
|
//// [parserClass1.js]
|
|
export class NullLogger {
|
|
information() { return false; }
|
|
debug() { return false; }
|
|
warning() { return false; }
|
|
error() { return false; }
|
|
fatal() { return false; }
|
|
log(s) {
|
|
}
|
|
}
|