-
Hi, based on what the documentations seems to indicate, when `loosely` is set to false, it should disable implicit type conversion and throw an error when a type doesn't match. However it does not see…
-
Hey team!
Blown away by this example from the docs:
```typescript
import { is } from '@deepkit/type';
const user = await fetch('/user/1');
if (is(user)) {
user.username; //user object ha…
-
```typescript
type A = number;
interface I{
a: T;
b: A,
c: B
}
interface B{
a: A;
}
// @ts-ignore
const ia = typeOf(); // type declaration
const gi = typeOf(); // generic
…
-
Include `sliceClass` and any other cool functionality that is supported
https://discord.com/channels/759513055117180999/759513055607783478/870404679031468112
-
```
xit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/productdevbook/Documents/Github/node_modules/libpq
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@8…
-
微博内容精选
-
Any way to get decorators applied to classes/methods with inputs?
```typescript
@MyDecorator({
value:"hello"
})
class Test{
}
const reflection = ReflectionClass.from();
reflection.hasD…
-
Hi all,
We currently have a AST model for TypeScript which is useful for compilers, editors, and linters.
However, it would be extremely useful to have a type model, a la Java's reflective model. Th…
-
Hi how can i use it with NestJs ?
Thanks
Noido updated
2 years ago
-
Given the following (most minimal example I can provide):
```ts
class A {}
class B {
constructor(readonly a: A) {
// a is undefined
}
}
class C extends B {}
class SomeModule …