corvid-types
v0.4.454
Published
Type definitions for Corvid by Wix
Downloads
741
Readme
👩🏻💻 Type Declarations: provides Typescript type declarations depending on the Wix editor context.
🏃🏽 Intellisense: Intellisense autocompletions for the Wix code editor.
Table of Contents
Introduction
This package contains type definitions for Velo by Wix.
It exposes the following:
declarations
: type declarations for different contexts:page
,backend
orpublic
.getWixModulesList
: returns a list of wix modules for autocompletion purposes. See full list of modules here.eventHandlersService
: the service provides meta-data about components' event handlersgetPageElementsTypeDeclarations
: returns the types of elements that are currently on the Wix editor page. Used to provide TS autocompletion.getPackageTypeDecelerations
: returns types for packages installed via NPM. Used to provide autocompletion.
Getting Started
Install by running:
npm install corvid-types