mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Change 'export default' to 'export =' For packages that don't actually export a 'default' property. * 7 more packages
17 lines
279 B
TypeScript
17 lines
279 B
TypeScript
import builtins = require('rollup-plugin-node-builtins');
|
|
|
|
// No options (default)
|
|
(() => {
|
|
// $ExpectType Plugin
|
|
builtins();
|
|
})();
|
|
|
|
// With `crypto` and `fs` enabled
|
|
(() => {
|
|
// $ExpectType Plugin
|
|
builtins({
|
|
crypto: true,
|
|
fs: true,
|
|
});
|
|
})();
|