MCPcopy Create free account
hub / github.com/chartjs/Chart.js / init

Function init

test/types/date_adapter.ts:4–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3_adapters._date.override<{myOption: boolean}>({
4 init() {
5 const booleanOption: boolean = this.options.myOption;
6
7 // @ts-expect-error Options is readonly.
8 this.options = {};
9 },
10 // @ts-expect-error Should return string.
11 format(timestamp) {
12 const numberArg: number = timestamp;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected