Skip to content

Commit 0ecbada

Browse files
Renan R. Oliveiraemmatown
Renan R. Oliveira
authored andcommitted
Remove fontFace type (#596)
1 parent e48d67b commit 0ecbada

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

packages/emotion/types/index.d.ts

-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ export const injectGlobal: CreateStyles<void>;
3535

3636
export const keyframes: CreateStyles<string>;
3737

38-
export const fontFace: CreateStyles<void>;
39-
4038
export function getRegisteredStyles(registeredStyles: string[], classNames: string): string;
4139

4240
export function cx(...interpolations: Interpolation[]): string;

packages/emotion/types/tests.tsx

-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
injectGlobal,
55
flush,
66
css,
7-
fontFace,
87
hydrate,
98
cx
109
} from '../';
@@ -63,10 +62,6 @@ css(
6362

6463
css(null);
6564

66-
fontFace`
67-
font-family: 'Foo';
68-
`;
69-
7065
injectGlobal`
7166
#foo {
7267
font-face: 'Foo';

0 commit comments

Comments
 (0)