Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→tsd-extract→Examples

Table of Contents

  • Quick Take
  • Extract a nested member
  • Extracting function type definitions
  • Join two object types into one
  • List all declarations in the source
  • Report a declaration that was not found
  • Omit the trailing semicolon
  • Require a statement to contain a string
  • Sorting exports
  • Strip the as aliases from an export
↑ back to top

Quick Take

↑ back to top

Extract a nested member

↑ back to top

Extracting function type definitions

↑ back to top

Join two object types into one

↑ back to top

List all declarations in the source

↑ back to top

Report a declaration that was not found

↑ back to top

Omit the trailing semicolon

↑ back to top

Require a statement to contain a string

↑ back to top

Sorting exports

↑ back to top

Strip the as aliases from an export

↑ back to top
back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab