Skip to content

Commit

Permalink
fix(types): directly export Named type to avoid ambiguity with TS --i…
Browse files Browse the repository at this point in the history
…solatedModules option
  • Loading branch information
dbanksdesign authored Jun 7, 2021
2 parents 2b6be3b + 3ed31be commit 8295b0d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions types/_helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@
* and limitations under the License.
*/

type Named<T> = T & { name: string; };

export { Named }
export type Named<T> = T & { name: string; };

0 comments on commit 8295b0d

Please sign in to comment.