diff --git a/lib/ExpensiMark.ts b/lib/ExpensiMark.ts index c9f5cc60..1d702678 100644 --- a/lib/ExpensiMark.ts +++ b/lib/ExpensiMark.ts @@ -5,13 +5,8 @@ import * as Constants from './CONST'; import * as UrlPatterns from './Url'; import Logger from './Logger'; import * as Utils from './utils'; +import type Extras from './Extras'; -export type Extras = { - reportIDToName?: Record; - accountIDToName?: Record; - mediaAttributeCachingFn?: (mediaSource: string, attrs: string) => void; - mediaAttributeCache?: Record; -}; const EXTRAS_DEFAULT = {}; type ReplacementFn = (extras: Extras, ...matches: string[]) => string; diff --git a/lib/Extras.ts b/lib/Extras.ts index e69de29b..0f1075da 100644 --- a/lib/Extras.ts +++ b/lib/Extras.ts @@ -0,0 +1,8 @@ +type Extras = { + reportIDToName?: Record; + accountIDToName?: Record; + mediaAttributeCachingFn?: (mediaSource: string, attrs: string) => void; + mediaAttributeCache?: Record; +}; + +export default Extras;