diff --git a/.gitignore b/.gitignore
index 8fb5243e..b8fb7487 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,7 +25,8 @@ lib/
stats.json
cypress/
bundles/
-typings/
+typings/*
+!typings/styled-patch.d.ts
cli/index.js
/benchmark/revisions
diff --git a/custom.d.ts b/custom.d.ts
index c50bda10..bbf43fb2 100644
--- a/custom.d.ts
+++ b/custom.d.ts
@@ -1,4 +1,4 @@
-///
+///
declare module '*.json' {
const content: any;
diff --git a/src/styled.d.ts b/typings/styled-patch.d.ts
similarity index 100%
rename from src/styled.d.ts
rename to typings/styled-patch.d.ts