Home
last modified time | relevance | path

Searched refs:onInit (Results 1 – 8 of 8) sorted by relevance

/third_party/typescript/tests/baselines/reference/
DcomputedPropertyName.symbols2 export const onInit = Symbol("onInit");
3 >onInit : Symbol(onInit, Decl(framework-hooks.ts, 0, 12))
7 import type { onInit } from "./framework-hooks";
8 >onInit : Symbol(onInit, Decl(component.ts, 0, 13))
13 [onInit]?(): void;
14 >[onInit] : Symbol(Component[onInit], Decl(component.ts, 2, 21))
15 >onInit : Symbol(onInit, Decl(component.ts, 0, 13))
21 [onInit]: any;
22 >[onInit] : Symbol([onInit], Decl(component.ts, 6, 10))
23 >onInit : Symbol(onInit, Decl(component.ts, 0, 13))
[all …]
DcomputedPropertyName.types2 export const onInit = Symbol("onInit");
3 >onInit : unique symbol
4 >Symbol("onInit") : unique symbol
6 >"onInit" : "onInit"
9 import type { onInit } from "./framework-hooks";
10 >onInit : any
13 [onInit]?(): void;
14 >[onInit] : () => void
15 >onInit : unique symbol
21 [onInit]: any;
[all …]
DcomputedPropertyName.js4 export const onInit = Symbol("onInit"); constant
7 import type { onInit } from "./framework-hooks";
10 [onInit]?(): void;
14 [onInit]: any;
18 [onInit]: 0 // Error
22 [onInit]: any; // Error (because class fields)
26 [onInit] = 0; // Error
30 [onInit]() {} // Error
34 abstract [onInit](): void;
38 declare [onInit]: any;
[all …]
DcomputedPropertyName.errors.txt1 tests/cases/conformance/externalModules/typeOnly/component.ts(12,4): error TS1361: 'onInit' cannot …
2 tests/cases/conformance/externalModules/typeOnly/component.ts(16,4): error TS1361: 'onInit' cannot …
3 tests/cases/conformance/externalModules/typeOnly/component.ts(20,4): error TS1361: 'onInit' cannot …
4 tests/cases/conformance/externalModules/typeOnly/component.ts(24,4): error TS1361: 'onInit' cannot …
8 export const onInit = Symbol("onInit");
11 import type { onInit } from "./framework-hooks";
14 [onInit]?(): void;
18 [onInit]: any;
22 [onInit]: 0 // Error
24 !!! error TS1361: 'onInit' cannot be used as a value because it was imported using 'import type'.
[all …]
/third_party/typescript/tests/cases/conformance/externalModules/typeOnly/
DcomputedPropertyName.ts4 export const onInit = Symbol("onInit"); constant
7 import type { onInit } from "./framework-hooks";
10 [onInit]?(): void;
14 [onInit]: any;
18 [onInit]: 0 // Error
22 [onInit]: any; // Error (because class fields)
26 [onInit] = 0; // Error
30 [onInit]() {} // Error
34 abstract [onInit](): void;
38 declare [onInit]: any;
[all …]
/third_party/skia/src/android/
DSkAnimatedImage.cpp115 bool SkAnimatedImage::Frame::init(const SkImageInfo& info, OnInit onInit) { in init() argument
125 if (OnInit::kRestoreIfNecessary == onInit) { in init()
/third_party/flutter/skia/src/android/
DSkAnimatedImage.cpp113 bool SkAnimatedImage::Frame::init(const SkImageInfo& info, OnInit onInit) { in init() argument
123 if (OnInit::kRestoreIfNecessary == onInit) { in init()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dasync_lifecycle_test.dart49 testWidgets('async onInit throws FlutterError', (WidgetTester tester) async {