Skip to content

Commit

Permalink
Add id to TS file (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
robmadole committed Mar 5, 2020
1 parent 0406a6a commit 4b49f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
@@ -1,5 +1,5 @@
/// <reference types="react" />
import { CSSProperties, DOMAttributes } from 'react'
import { CSSProperties, SVGAttributes } from 'react'
import {
Transform,
IconProp,
Expand All @@ -20,7 +20,7 @@ export type Props = FontAwesomeIconProps
// This is identical to the version of Omit in Typescript 3.5. It is included for compatibility with older versions of Typescript.
type BackwardCompatibleOmit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;

export interface FontAwesomeIconProps extends BackwardCompatibleOmit<DOMAttributes<SVGSVGElement>, 'children' | 'mask'> {
export interface FontAwesomeIconProps extends BackwardCompatibleOmit<SVGAttributes<SVGSVGElement>, 'children' | 'mask' | 'transform'> {
icon: IconProp
mask?: IconProp
className?: string
Expand Down

0 comments on commit 4b49f54

Please sign in to comment.