Created
May 18, 2017 14:39
-
-
Save wtrocki/eb34d4dc6d4767883505c6d9cd9ea63b to your computer and use it in GitHub Desktop.
Simple typescript list of members for file.
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
| console.log("list of methods"); | |
| //File to typescript | |
| var index = require("./index.js"); | |
| var allKeys = Object.keys(index); | |
| var keys = JSON.stringify(allKeys); | |
| _.each(allKeys,function(key){ | |
| console.log("Field " + key + " ", Object.keys(index[key])); | |
| }); | |
| console.log(keys); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment