Fix createGlobalStyle in @xstyled/emotion to work the same way as its styled-components counterpart.
import { createGlobalStyle } from "@xstyled/emotion";
// This doesn't work
const GlobalStyle = createGlobalStyle<Props>`
...
`
import { createGlobalStyle } from "@xstyled/styled-components";
// This works as expected
const GlobalStyle = createGlobalStyle<Props>`
...
`
Summary
Fix createGlobalStyle in @xstyled/emotion to work the same way as its styled-components counterpart.