Docs.rs
typescript-webidl-0.0.4
typescript-webidl 0.0.4
Permalink
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
fqq
Dependencies
oak-core ^0.0.11
normal
oak-idl ^0.0.11
normal
serde ^1.0.228
normal
serde_json ^1.0.149
normal
typescript-ir ^0.0.4
normal
typescript-types ^0.0.4
normal
Versions
100%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
convert_to_typescript
typescript_
webidl
0.0.4
convert_
to_
typescript
Sections
参数
返回值
In crate typescript_
webidl
typescript_webidl
Function
convert_
to_
typescript
Copy item path
Source
pub fn convert_to_typescript(root: &
IdlRoot
) ->
String
Expand description
将 WebIDL AST 转换为 TypeScript 类型定义
§
参数
root
: WebIDL AST 根节点
§
返回值
生成的 TypeScript 类型定义字符串