@travetto/compiler
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -24,3 +24,3 @@ { | ||
"scripts": {}, | ||
"version": "0.0.9" | ||
"version": "0.0.10" | ||
} |
@@ -138,3 +138,3 @@ import { Compiler } from './compiler'; | ||
if (node && node.properties) { | ||
for (let prop of node.properties) { | ||
for (const prop of node.properties) { | ||
if (prop.name!.getText() === key) { | ||
@@ -153,3 +153,3 @@ if (ts.isPropertyAssignment(prop)) { | ||
static importingVisitor<T extends State>( | ||
init: (file?: ts.SourceFile, context?: ts.TransformationContext) => Partial<T>, | ||
init: (file: ts.SourceFile, context?: ts.TransformationContext) => Partial<T>, | ||
visitor: <Z extends ts.Node>(context: ts.TransformationContext, node: Z, state: T) => Z | ||
@@ -156,0 +156,0 @@ ) { |
24266