diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9cb4038d..6257f6da 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,9 @@ name: Node.js Package on: + push: + branches: + - '**' release: types: [created] diff --git a/src/__tests__/data/MultipleAllWithDisplayName.tsx b/src/__tests__/data/MultipleAllWithDisplayName.tsx new file mode 100644 index 00000000..8c892833 --- /dev/null +++ b/src/__tests__/data/MultipleAllWithDisplayName.tsx @@ -0,0 +1,22 @@ +import * as React from 'react'; + +interface ButtonProps + extends Omit, 'type'> {} + +export const Button = React.forwardRef( + (props, ref) =>