Skip to content

Instantly share code, notes, and snippets.

View binjospookie's full-sized avatar
🌿

Viktor Pasynok binjospookie

🌿
View GitHub Profile
@binjospookie
binjospookie / spec-d.ts
Last active September 19, 2024 15:58
test
/* eslint-disable react-hooks/rules-of-hooks */
import { createStore } from '@grlt/vendors/state';
import { createHookWithStoreGetter } from '../index';
const $myKv = createStore({
a: 1,
b: '2',
c: {
const addExternalProcessingData = declareAction<Record<string, unknown>>();
const EVENTS = {
[EVENT_NAME.ADD_PROCESSING_DATA]: addExternalProcessingData,
} as const;
const makeCall = (store: Store) => ({
name,
payload,
}: {

Анимации для игры:

Основное:

module.exports = {
printWidth: 120,
parser: 'typescript',
useTabs: false,
singleQuote: true,
trailingComma: 'all',
};
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"rules": {
"quotemark": [
true,
"single",
"jsx-double"
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"jsx": "react",
"strict": true,
"noImplicitAny": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"lib": [ "es2017", "dom" ],