mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
36 lines
806 B
TypeScript
36 lines
806 B
TypeScript
//// [tests/cases/compiler/arrayAssignmentTest6.ts] ////
|
|
|
|
//// [arrayAssignmentTest6.ts]
|
|
namespace Test {
|
|
interface IState {
|
|
}
|
|
interface IToken {
|
|
startIndex: number;
|
|
}
|
|
interface ILineTokens {
|
|
tokens: IToken[];
|
|
endState: IState;
|
|
}
|
|
interface IMode {
|
|
tokenize(line:string, state:IState, includeStates:boolean):ILineTokens;
|
|
}
|
|
export class Bug implements IMode {
|
|
public tokenize(line:string, tokens:IToken[], includeStates:boolean):ILineTokens {
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
//// [arrayAssignmentTest6.js]
|
|
"use strict";
|
|
var Test;
|
|
(function (Test) {
|
|
class Bug {
|
|
tokenize(line, tokens, includeStates) {
|
|
return null;
|
|
}
|
|
}
|
|
Test.Bug = Bug;
|
|
})(Test || (Test = {}));
|