UNPKG

mezzanine

Version:

Fantasy land union types with pattern matching

17 lines (11 loc) 387 B
'use strict';Object.defineProperty(exports, "__esModule", { value: true }); var config = { check: true // declare class Taggy<Tag: string> { value: Tag } // function TaggedSymbol<Tag: string>(tag: Tag): Symbol & Taggy<Tag> { // return Symbol(tag) // } }; var typeMark = exports.typeMark = Symbol('type mark');exports.default = config; //# sourceMappingURL=config.js.map