
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
@globexit/webtutor-types
Advanced tools
У вас могут возникнуть вопросы:
Для того, чтобы писать чистый код с меньшим количеством ошибок был создан этот репозиторий с типами для объектов WebSoftHCM.
Этот npm пакет позволяет добавить проверку типов и IntelliSense подсказки в ваши проект ( см. пример).
Важно: типы работают только с typescript<=4.4.4 в связи с тем, что при конкатенации строк + теперь превращается в .concat https://github.com/microsoft/TypeScript/pull/45304
Установка типов сводится к установке самой зависимости в ваш проект и typescript:
npm i typescript@4.4.4 -D
npm i @umbrik/webtutor-types -D
yarn add typescript@4.4.4 -D
yarn add @umbrik/webtutor-types -D
Типы можно использовать как в проектах, написанных с использованием typescript, так и в проектах, написанных на * javascript*.
Генерируем конфиг, либо просто создаем вручную файл tsconfig.json
npx tsc -init
Далее обновляем конфиг:
{
"compilerOptions": {
"target": "es5",
"module": "es6",
"esModuleInterop": true,
"strict": false,
"noImplicitAny": true,
"allowJs": true,
"isolatedModules": true,
"moduleResolution": "node",
"baseUrl": "src",
"noLib": true,
"typeRoots": [
"node_modules/@umbrik/webtutor-types/lib",
"node_modules/@umbrik/webtutor-types/lib/xml"
]
}
}
Примеры использования можно найти в examples
FAQs
WT Types Typescript типы для WebSoft HCM.
The npm package @globexit/webtutor-types receives a total of 2 weekly downloads. As such, @globexit/webtutor-types popularity was classified as not popular.
We found that @globexit/webtutor-types demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.