9 lines
265 B
TypeScript
9 lines
265 B
TypeScript
function suggest(){
|
|
var TypeScriptKeywords:string[];
|
|
var result:any;
|
|
|
|
TypeScriptKeywords.forEach(function(keyword) {
|
|
result.push({text:keyword, type:"keyword"}); // this should not cause a crash - push should be typed to any
|
|
});
|
|
}
|
|
|