website icon indicating copy to clipboard operation
website copied to clipboard

docs(examples): Fix ineffective TypeScript example

Open smith558 opened this issue 3 weeks ago • 0 comments
trafficstars

Description

This fixes the currently very ineffective and (imo) broken TypeScript use example.

Issues addressed:

  • example of actually using the imported TS types
  • making use of the previously unused variable port to show how one would get the port

old version: image

Related Issues

Check List

  • [x] I have read the Contributing Guidelines

smith558 avatar Oct 29 '25 17:10 smith558