Last active
April 29, 2020 21:24
-
-
Save rluvaton/3559848458c607caa9d731b2bada73b7 to your computer and use it in GitHub Desktop.
Reference types from another file / library #jsdoc #types #js
This file contains 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
// Example of how to reference another file / library type | |
import puppeteer from 'puppeteer'; | |
/** @typedef {import(@types/puppeteer).Browser} Browser */ | |
/** | |
* @type Browser | |
*/ | |
let browser; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment