摘要: You cannot create a instance of abstract class. An abstract class mean to be extended. abstract class Size { constructor(public sizes: string[]) {} se 阅读全文
posted @ 2022-10-13 22:20 Zhentiw 阅读(27) 评论(0) 推荐(0)
摘要: auditTime: import { fromEvent } from 'rxjs'; import { auditTime, map } from 'rxjs/operators'; const click$ = fromEvent(document, 'click'); click$ .pip 阅读全文
posted @ 2022-10-13 22:00 Zhentiw 阅读(80) 评论(0) 推荐(0)
摘要: SampleTime If there is no value emiited between sample time and previous emited value, ouput won't have anything. import { fromEvent, interval } from 阅读全文
posted @ 2022-10-13 21:54 Zhentiw 阅读(37) 评论(0) 推荐(0)
摘要: const { TestScheduler } = require("rxjs/testing"); const { map, take, delay } = require("rxjs/operators"); const { concat, from } = require("rxjs"); d 阅读全文
posted @ 2022-10-13 20:39 Zhentiw 阅读(22) 评论(0) 推荐(0)
摘要: const { TestScheduler } = require("rxjs/testing"); const { map, take } = require("rxjs/operators"); const { concat, from } = require("rxjs"); describe 阅读全文
posted @ 2022-10-13 20:31 Zhentiw 阅读(27) 评论(0) 推荐(0)
摘要: const { TestScheduler } = require("rxjs/testing"); const { map, take } = require("rxjs/operators"); const { concat } = require("rxjs"); describe("Marb 阅读全文
posted @ 2022-10-13 20:24 Zhentiw 阅读(22) 评论(0) 推荐(0)
摘要: const { TestScheduler } = require("rxjs/testing"); const { map } = require("rxjs/operators"); const { concat } = require("rxjs"); describe("Marble tes 阅读全文
posted @ 2022-10-13 20:09 Zhentiw 阅读(22) 评论(0) 推荐(0)
摘要: For example there is a clas: export class ModifierState { /** * Returns the modifier state applicable to the keyboard event given. * @param event The 阅读全文
posted @ 2022-10-13 18:13 Zhentiw 阅读(36) 评论(0) 推荐(0)
摘要: export type PickValue<T extends object, K = keyof T> = K extends keyof T ? T[K] : never; interface Person { name: string; address: { postcode: string; 阅读全文
posted @ 2022-10-13 00:00 Zhentiw 阅读(22) 评论(0) 推荐(0)