You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/blog/typed-napi.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -242,7 +242,6 @@ if (union.kind === 'expression') {
242
242
To bridge this gap, we introduced the `RefineNode` type:
243
243
244
244
```typescript
245
-
typeRefineNode<M, KextendsKinds<M>> =
246
245
typeRefineNode<M, K> =stringextendsK?SgNode<M, K> :// one SgNode
247
246
KextendskeyofM?SgNode<M, K> :never// distribute over union
248
247
```
@@ -440,4 +439,4 @@ As [Theo](https://x.com/theo) aptly puts it in [his video](https://www.youtube.c
440
439
441
440
> There are very few devs that understand Rust deeply enough and compiler deeply enough that also care about TypeScript in web dev enough to build something for web devs in Rust
442
441
443
-
ast-grep is determined to bridge that gap between Rust and TypeScript!
442
+
ast-grep is determined to bridge that gap between Rust and TypeScript!
0 commit comments