Typescript Declare Type Array Javascript Methods Syntax Tree Editor