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
Tenga committed May 30, 2021
1 parent 2b6be3b commit 3ed31be
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 3ed31be

Please sign in to comment.