Created
March 17, 2016 18:29
-
-
Save jazzdan/24c253c06e92e1fe9d46 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
childNodeFromParent: function(parentNode: TaxonomyNode, partialChild: Map<string, any>): Map<string, any> { | |
if (!partialChild.has("name")) { | |
throw Error("partialChild must contain a name key"); | |
} | |
let newName = partialChild.get("name"); | |
src/data/taxonomy.js:1238 | |
1238: let newName = partialChild.get("name"); | |
^^^^^^^^^^^^^^^^^^^^^^^^ call of method `get`. Function cannot be called on | |
1238: let newName = partialChild.get("name"); | |
^^^^^^^^^^^^^^^^^^^^^^^^ intersection: polymorphic type: function type(s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment