yoursunny / NDNts

NDN libraries for the Modern Web
https://ndnts-docs.ndn.today
ISC License
31 stars 9 forks source link

[fix] "import { type SyncNode } ..." should be "import type { SyncNode } ..." #13

Closed jacobbubu closed 1 year ago

jacobbubu commented 1 year ago

https://github.com/yoursunny/NDNts/blob/d40938ad6593c1bb3cbaa7d306d42e22bd757b35/packages/sync/src/svs/publisher.ts#L10

You can detect such problems in advance by adding ". /mk/tsconfig-base.json" by adding "importsNotUsedAsValues": "error" to "compilerOptions" to catch such problems in advance.