Skip to content

Commit e5110b4

Browse files
crisbetoleonsenft
authored andcommitted
fix(core): export DirectiveWithBindings
Exports the `DirectiveWithBindings` interface since it's part of the public API of `createComponent`. Fixes #66851. (cherry picked from commit 8ab433a)
1 parent f1e4446 commit e5110b4

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

goldens/public-api/core/index.api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,12 @@ export interface DirectiveDecorator {
637637
new (obj?: Directive): Directive;
638638
}
639639

640+
// @public
641+
export interface DirectiveWithBindings<T> {
642+
bindings: Binding[];
643+
type: Type<T>;
644+
}
645+
640646
// @public
641647
export interface DoBootstrap {
642648
// (undocumented)

packages/core/src/core.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,13 @@ export {
113113
afterNextRender,
114114
ɵFirstAvailable,
115115
} from './render3/after_render/hooks';
116-
export {Binding, inputBinding, outputBinding, twoWayBinding} from './render3/dynamic_bindings';
116+
export {
117+
Binding,
118+
DirectiveWithBindings,
119+
inputBinding,
120+
outputBinding,
121+
twoWayBinding,
122+
} from './render3/dynamic_bindings';
117123
export {ApplicationConfig, mergeApplicationConfig} from './application/application_config';
118124
export {makeStateKey, StateKey, TransferState} from './transfer_state';
119125
export {booleanAttribute, numberAttribute} from './util/coercion';

0 commit comments

Comments
 (0)