lukeed / dset

A tiny (194B) utility for safely writing deep Object values~!
MIT License
754 stars 22 forks source link

Updated TS Support #40

Closed Akkuma closed 8 months ago

Akkuma commented 8 months ago

The current package.json doesn't seem to work with the latest TS versions. This resolves those issues.

lukeed commented 8 months ago

Thanks for this. Each condition doesnt need a separate types condition though since theyre not loading different dts files for ESM vs CJS

Can you please update each entry to be this shape:

{
  "types": "...",
  "import": "...",
  "require": "..."
}
Akkuma commented 8 months ago

Thanks for this. Each condition doesnt need a separate types condition though since theyre not loading different dts files for ESM vs CJS

Can you please update each entry to be this shape:

{
  "types": "...",
  "import": "...",
  "require": "..."
}

Sure thing I'll get this squared away tonight and update the PR tomorrow.

Akkuma commented 8 months ago

@lukeed got this updated now.