Skip to content

Instantly share code, notes, and snippets.

@bengl
Created August 10, 2016 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bengl/189c926ca1e4c0b18742576ae99c5206 to your computer and use it in GitHub Desktop.
Save bengl/189c926ca1e4c0b18742576ae99c5206 to your computer and use it in GitHub Desktop.
tern annotations?
// tern: const Thing = require('./thing.js')
/**
* @param {Thing} thing
*/
module.exports = function (thing) {
thing.foo();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment