Skip to content

Releases: XenoPOMP/advanced-types

v1.7.5

10 May 10:09
Compare
Choose a tag to compare

SetState type

Type of set state function from useState.

// typeof setState => SetState<string>
const [state, setState] = useState<string>('example');

v1.7.4

12 Mar 06:31
Compare
Choose a tag to compare

Forgot to export legacy NoInfer type

It has to be exported for backward compatibility.

v1.7.3

11 Mar 17:58
96f2121
Compare
Choose a tag to compare

What's Changed

  • Deprecated NoInfer in #10
  • Bump @types/node from 20.4.4 to 20.11.25 by @dependabot in #7
  • Bump @types/react from 18.2.42 to 18.2.64 by @dependabot in #6
  • Bump @trivago/prettier-plugin-sort-imports from 4.1.1 to 4.3.0 by @dependabot in #5

Full Changelog: v1.7.2...v1.7.3

v1.7.2

09 Feb 18:31
Compare
Choose a tag to compare

Synchronous type

Makes any async function sync.

v1.7.1

06 Feb 16:19
Compare
Choose a tag to compare

NoInfer type

The idea of this type belongs to Matt Pocock.

Link to the video

v1.7.0

28 Jan 08:14
4a7f832
Compare
Choose a tag to compare

QoL changes

Organize files more efficient way, not affecting any types.

v1.6.5

28 Jan 07:49
Compare
Choose a tag to compare

Export fixes

v1.6.4

28 Jan 07:37
Compare
Choose a tag to compare

Package adjustments

Remove source code from package.

v1.6.3

28 Jan 07:32
Compare
Choose a tag to compare

Exports` cleanup

v1.6.2

24 Dec 12:27
Compare
Choose a tag to compare

Fix bug with building