Skip to content

Instantly share code, notes, and snippets.

@tusharmath
Created September 6, 2018 15:10
Show Gist options
  • Select an option

  • Save tusharmath/a2bdd75c5ba7faa86e0b8aea5fd832e8 to your computer and use it in GitHub Desktop.

Select an option

Save tusharmath/a2bdd75c5ba7faa86e0b8aea5fd832e8 to your computer and use it in GitHub Desktop.

Revisions

  1. tusharmath created this gist Sep 6, 2018.
    3 changes: 3 additions & 0 deletions init.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    type init<State, Args extends any[]> = {
    (...t: Args): State
    }