Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 5f1d125

Browse files
committed
chore: export missing types to Angular.dart
1 parent 155582d commit 5f1d125

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

lib/core/module.dart

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,25 @@
3232
library angular.core;
3333

3434

35+
export "package:angular/core/parser/parser.dart" show
36+
Parser;
37+
38+
export "package:angular/core/parser/dynamic_parser.dart" show
39+
ClosureMap;
40+
41+
export "package:angular/change_detection/change_detection.dart" show
42+
AvgStopwatch,
43+
FieldGetterFactory;
44+
3545
export "package:angular/core_dom/module_internal.dart" show
3646
Animation,
3747
AnimationResult,
3848
BrowserCookies,
49+
Cache,
3950
Compiler,
4051
Cookies,
52+
BoundViewFactory,
53+
DirectiveMap,
4154
ElementProbe,
4255
EventHandler,
4356
Http,
@@ -48,20 +61,26 @@ export "package:angular/core_dom/module_internal.dart" show
4861
HttpInterceptors,
4962
HttpResponse,
5063
HttpResponseConfig,
64+
LocationWrapper,
5165
NoOpAnimation,
5266
NullTreeSanitizer,
5367
NgAnimate,
68+
NgElement,
5469
RequestErrorInterceptor,
5570
RequestInterceptor,
5671
Response,
5772
ResponseError,
73+
UrlRewriter,
5874
TemplateCache,
5975
View,
76+
ViewCache,
6077
ViewFactory,
6178
ViewPort;
79+
6280
export "package:angular/core/module_internal.dart" show
6381
CacheStats,
6482
ExceptionHandler,
83+
FilterMap,
6584
Interpolate,
6685
NgZone,
6786
PrototypeMap,

lib/core/scope.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -784,9 +784,9 @@ class _Streams {
784784
return event;
785785
}
786786

787-
static ScopeStream on(Scope scope,
788-
ExceptionHandler _exceptionHandler,
789-
String name) {
787+
static async.Stream<ScopeEvent> on(Scope scope,
788+
ExceptionHandler _exceptionHandler,
789+
String name) {
790790
_forceNewScopeStream(scope, _exceptionHandler);
791791
return scope._streams._get(scope, name);
792792
}

test/angular_spec.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ main() {
4343
});
4444

4545
describe('angular symbols', () {
46-
it('should not export symbols that we do not know about', () {
46+
iit('should not export symbols that we do not know about', () {
4747
// Test is failing? Add new symbols to the "ALLOWED_NAMES" list below.
4848
// But make sure that you intend to export the symbol!
4949
// Questions? Talk to @jbdeboer

0 commit comments

Comments
 (0)