From b632cd54f60389000f6bd9ff8554f46a39531207 Mon Sep 17 00:00:00 2001 From: Kristen Gilden Date: Wed, 9 Sep 2020 13:51:42 +0300 Subject: [PATCH] Export ResourceSourceInputObject, ResourceFunc, ResourceInput to the outside Makes it easier to type hint resource sources. --- resource-common/src/api-type-deps.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resource-common/src/api-type-deps.ts b/resource-common/src/api-type-deps.ts index 4c2a08516..c32b2bf7a 100644 --- a/resource-common/src/api-type-deps.ts +++ b/resource-common/src/api-type-deps.ts @@ -1,5 +1,7 @@ -export { ResourceSourceInput } from './structs/resource-source-parse' +export { ResourceSourceInput, ResourceSourceInputObject } from './structs/resource-source-parse' +import { ResourceFunc } from './resource-sources/resource-func' +import { ResourceInput } from './structs/resource' export { ResourceLabelContentArg, ResourceLabelMountArg } from './common/ResourceLabelRoot' export { ColSpec, ColHeaderContentArg, ColHeaderMountArg, ColCellContentArg, ColCellMountArg } from './common/resource-spec' export { ResourceLaneContentArg, ResourceLaneMountArg } from './render-hooks'