Initial rebrand: @polkadot -> @pezkuwi (3 packages)

- Package namespace: @polkadot/dev -> @pezkuwi/dev
- Repository: polkadot-js/dev -> pezkuwichain/pezkuwi-dev
- Author: Pezkuwi Team <team@pezkuwichain.io>

Packages:
- @pezkuwi/dev (build tools, linting, CI scripts)
- @pezkuwi/dev-test (test runner)
- @pezkuwi/dev-ts (TypeScript build)

Upstream: polkadot-js/dev v0.83.3
This commit is contained in:
Kurdistan Tech Ministry committed 2026-01-05 14:22:47 +03:00
commit 8d28b36f9c
135 files changed
+19232

No files matched your search

+45
View File
@@ -0,0 +1,45 @@
// Copyright 2017-2025 @polkadot/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
export class Clazz {
#something = 123_456_789;
readonly and: number;
static staticProperty = 'foobar';
static staticFunction = (): string|null => Clazz.staticProperty;
/**
* @param and the number we should and with
*/
constructor (and: number) {
this.and = and;
this.#something = this.#something & and;
}
get something (): number {
return this.#something;
}
async doAsync (): Promise<boolean> {
const res = await new Promise<boolean>((resolve) => resolve(true));
console.log(res);
return res;
}
/**
* @description Sets something to something
* @param something The addition
*/
setSomething = (something?: number): number => {
this.#something = (something ?? 123_456) & this.and;
return this.#something;
};
toString (): string {
return `something=${this.#something}`;
}
}