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

backOpen Source→tsd-extract→Examples

Permalink to Table of ContentsTable 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

Permalink to Quick TakeQuick Take

↑ back to top

Permalink to Extract a nested memberExtract a nested member

↑ back to top

Permalink to Extracting function type definitionsExtracting function type definitions

↑ back to top

Permalink to Join two object types into oneJoin two object types into one

↑ back to top

Permalink to List all declarations in the sourceList all declarations in the source

↑ back to top

Permalink to Report a declaration that was not foundReport a declaration that was not found

↑ back to top

Permalink to Omit the trailing semicolonOmit the trailing semicolon

↑ back to top

Permalink to Require a statement to contain a stringRequire a statement to contain a string

↑ back to top

Permalink to Sorting exportsSorting exports

↑ back to top

Permalink to Strip the as aliases from an exportStrip 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