File: index.test-d.ts

package info (click to toggle)
node-registry-url 6.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 136 kB
  • sloc: javascript: 100; makefile: 2
file content (5 lines) | stat: -rw-r--r-- 148 bytes parent folder | download
1
2
3
4
5
import {expectType} from 'tsd';
import registryUrl from './index.js';

expectType<string>(registryUrl());
expectType<string>(registryUrl('@myco'));