mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
6 lines
185 B
TypeScript
6 lines
185 B
TypeScript
import yn = require('yn');
|
|
|
|
yn('y'); // $ExpectType boolean | null
|
|
yn('mo', { lenient: true }); // $ExpectType boolean | null
|
|
yn('abomasum', { default: false }); // $ExpectType boolean
|