Files
TypeScript/tests/baselines/reference
Sheetal Nandi 7ebf5371a5 Test cases for typeguards of form typeof x === s and typeof x !== s
•	A type guard of the form typeof x === s, where s is a string literal with the value ‘string’, ‘number’, or ‘boolean’,
o	when true, narrows the type of x to the given primitive type, or
o	when false, removes the primitive type from the type of x.
•	A type guard of the form typeof x === s, where s is a string literal with any value but ‘string’, ‘number’, or ‘boolean’,
o	when true, removes the primitive types string, number, and boolean from the type of x, or
o	when false, has no effect on the type of x.
•	A type guard of the form typeof x !== s, where s is a string literal,
o	when true, narrows the type of x by typeof x === s when false, or
o	when false, narrows the type of x by typeof x === s when true.
2014-11-06 13:04:34 -08:00
..
2014-10-31 10:19:31 -07:00
2014-10-20 23:05:44 -07:00
2014-10-20 23:05:44 -07:00
2014-11-03 18:42:26 -08:00
2014-11-05 12:26:03 -08:00
2014-11-05 12:26:03 -08:00
2014-11-03 14:29:23 -08:00