ts-transformer-keys
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "ts-transformer-keys", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Check equality of objects based on their contextual type in TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -35,5 +35,5 @@ "use strict"; | ||
return !!declaration | ||
&& (declaration.getSourceFile().fileName === indexTs) | ||
&& (path.join(declaration.getSourceFile().fileName) === indexTs) | ||
&& !!declaration.name | ||
&& (declaration.name.getText() === 'keys'); | ||
} |
@@ -38,5 +38,5 @@ import * as ts from 'typescript'; | ||
return !!declaration | ||
&& (declaration.getSourceFile().fileName === indexTs) | ||
&& (path.join(declaration.getSourceFile().fileName) === indexTs) | ||
&& !!declaration.name | ||
&& (declaration.name.getText() === 'keys'); | ||
} |
8086