mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
241 B
TypeScript
12 lines
241 B
TypeScript
import gcStats = require('prometheus-gc-stats');
|
|
|
|
const testFunc = gcStats('something');
|
|
// $ExpectType void
|
|
testFunc();
|
|
|
|
const testFuncWithConfig = gcStats('something', {
|
|
prefix: 'prefix_',
|
|
});
|
|
// $ExpectType void
|
|
testFuncWithConfig();
|