diff --git a/website/blog/typed-napi.md b/website/blog/typed-napi.md index 7a3ca1ca..369ba829 100644 --- a/website/blog/typed-napi.md +++ b/website/blog/typed-napi.md @@ -242,7 +242,6 @@ if (union.kind === 'expression') { To bridge this gap, we introduced the `RefineNode` type: ```typescript -type RefineNode> = type RefineNode = string extends K ? SgNode : // one SgNode K extends keyof M ? SgNode : never // distribute over union ``` @@ -440,4 +439,4 @@ As [Theo](https://x.com/theo) aptly puts it in [his video](https://www.youtube.c > 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 -ast-grep is determined to bridge that gap between Rust and TypeScript! \ No newline at end of file +ast-grep is determined to bridge that gap between Rust and TypeScript!