File: index.test-d.ts

package info (click to toggle)
node-cosmiconfig 5.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 692 kB
  • sloc: makefile: 2
file content (9 lines) | stat: -rw-r--r-- 265 bytes parent folder | download
1
2
3
4
5
6
7
8
9
import {expectType} from 'tsd';
import callsites = require('.');
import {CallSite} from '.';

const callsite = callsites()[0];

expectType<CallSite[]>(callsites());
expectType<unknown | undefined>(callsite.getThis());
expectType<boolean>(callsite.isConstructor());