mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
318 B
TypeScript
16 lines
318 B
TypeScript
import igdb, { getTagNumber } from 'igdb-api-node';
|
|
import { Apicalypse } from 'apicalypse';
|
|
|
|
// $ExpectType number
|
|
getTagNumber(5, 1234);
|
|
|
|
// $ExpectType Apicalypse
|
|
igdb();
|
|
// $ExpectType Apicalypse
|
|
igdb('test-api-key');
|
|
// $ExpectType Apicalypse
|
|
igdb('test-api-key', {
|
|
queryMethod: 'url',
|
|
method: 'get',
|
|
});
|