@nicholascgates/test-types
v0.1.1
Published
A trivial test package with TypeScript type definitions for testing npm publishing
Readme
@nicholascgates/test-types
A trivial test package containing TypeScript type definitions for testing the npm publishing process.
Installation
npm install @nicholascgates/test-typesUsage
import { StringOrNumber, Nullable, Point2D, greet } from '@nicholascgates/test-types';
const value: StringOrNumber = 42;
const optional: Nullable<string> = null;
const point: Point2D = { x: 10, y: 20 };
const greeting: string = greet('World');NPM Publication
npm publish --access public
Published packages can be removed within 72 hours without restriction:
npm unpublish -f @nicholascgates/test-types
Note
This is a test package created for the purpose of testing the npm publishing process on npmjs.com. It is not intended for production use.
License
MIT
