diff --git a/packages/netlify-cms-core/index.d.ts b/packages/netlify-cms-core/index.d.ts index fd4dead299f6..17d8168e3f55 100644 --- a/packages/netlify-cms-core/index.d.ts +++ b/packages/netlify-cms-core/index.d.ts @@ -2,7 +2,7 @@ declare module 'netlify-cms-core' { import React, { ComponentType } from 'react'; import { List, Map } from 'immutable'; - import { FILES, FOLDER } from '../constants/collectionTypes'; + import { FILES, FOLDER } from 'netlify-cms-core/src/constants/collectionTypes'; export type CmsBackendType = | 'azure' diff --git a/packages/netlify-cms-core/src/constants/collectionTypes.js b/packages/netlify-cms-core/src/constants/collectionTypes.ts similarity index 100% rename from packages/netlify-cms-core/src/constants/collectionTypes.js rename to packages/netlify-cms-core/src/constants/collectionTypes.ts