typescript-is icon indicating copy to clipboard operation
typescript-is copied to clipboard

Results 49 typescript-is issues
Sort by recently updated
recently updated
newest added

`data` is not a valid `Translation` in the following code because `kr` should be `ko`, but `is(data) === true`. Let me know if it is not supported yet. ```typescript import...

Example: ```typescript interface Foo { foo?: string; } const foo1: Foo = { foo: undefined, } const foo2: Foo = {} console.log(is(foo1)); // false console.log(is(foo2)); // true ``` Should they...

I'm getting this error when I try to use typescript-is. The offending line is: ``` return `${this.config.get('APOLLO_API_URL')}:${this.config.get('APOLLO_API_PORT')}${apiEndpoint}` ``` Any suggestions on how to debug this?

["Branding" and "Flavoring" is a technique to achieve nominal like typing in typescript](https://spin.atomicobject.com/2018/01/15/typescript-flexible-nominal-typing/) It works by using an object intersection with a primitive. Since objects can be intersected with anything,...

as issue #110 stated mention, typescript-is does not support adding nominal types. while typescript does for example: ``` type USD={id:'usd'} & number const usd: USD = 5 as USD //...

typescript-is depends on typescript package indirectly, so typescript compiler is installed whenever we use typescript-is, even if in production environment. [typescript package](https://www.npmjs.com/package/typescript) has a size of 64MB. This is too...

I was recently looking at #115 and I'm wondering if it may be possible to expand it into supporting nested & unbound parameter types. I know this is part of...

# Background Consider the test case in PR #115 It works well when the use of the generic is in the top-level of the type. Notably, the visit order will...

See #115 for the description of the problem and how I got to the solution This is the final generated code which looks correct 👍 ```javascript "use strict"; Object.defineProperty(exports, "__esModule",...

# Description Currently typescript-is fails with `Failed to transform node` when trying to index type using a generic type This happens on latest master (0.19.0) # Issue reproduction Both of...