Coder Social home page Coder Social logo

aceleisureman / autojs6-typescript-declarations Goto Github PK

View Code? Open in Web Editor NEW

This project forked from supermonster003/autojs6-typescript-declarations

0.0 0.0 0.0 5.7 MB

AutoJs6 声明文件 (d.ts) AutoJs6 TypeScript Declarations

License: Mozilla Public License 2.0

TypeScript 100.00%

autojs6-typescript-declarations's Introduction

autojs6-ts-declarations-banner_1024×310

AutoJs6 声明文件 (d.ts)

TypeScript Declarations for AutoJs6

Version name GitHub issues GitHub AutoJs6 repository GitHub top language
Created GitHub License GitHub Code Size JetBrains supporter


功能简介


实现或增强开发工具的代码智能补全功能:


样例展示


点击展开或收起样例展示

autojs6-ts-declarations-demo

使用说明


获取声明文件 (d.ts) 的主目录

可以从 NPM 或 GitHub 获取主目录.

从 NPM 获取
npm i @sm003/autojs6-dts

安装后, 定位到 /node_modules/@sm003/autojs6-dts/declarations.

从 GitHub 获取

下载最新项目 zip 数据包, 解压后得到 declarations 文件夹.

放置声明文件的主目录

将主目录放置到项目的任意目录中.

假设用户有一个名为 hello 的项目, 项目目录结构如下:

hello / images / ...
hello / docs / ...
hello / main.js
hello / project.json
...

declarations 主目录支持以下方式放置:

hello / declarations / (推荐)
hello / images / declarations /
hello / docs / declarations /
hello / ... / ... / declarations /

但不能放置在项目的同级或上级目录中.

实现或增强代码智能补全

开发工具会自动识别并开始索引所有声明文件.

索引完成后开始编写代码并体验代码智能提示.

注: 部分编辑器可能需要重新启动才能开始声明文件的索引.


版本历史


v2.0.1

2023/04/29
  • 新增 s13n 模块声明文件
  • 优化 适配 AutoJs6 6.3.0

v2.0.0

2023/03/24
  • 优化 适配 AutoJs6 6.2.1 Alpha2
  • 优化 android platform 27 声明文件升级为 33 版本
  • 优化 还原方法签名中 param0/param1/... 的原始参数名称
  • 管理 项目已发布至 NPM (@sm003/autojs6-dts)

v1.0.2

2021/11/05
  • 新增 Error 实例的 javaException/rhinoException 属性描述
  • 修复 auto() 方法描述指向错误
  • 优化 方法签名完善 · android.content.pm.PackageManager.getApplicationInfo · android.content.pm.PackageManager.getApplicationLabel
更多版本历史可参阅

相关项目


Android d.ts Generator by NativeScript

  • 由 jar 文件生成 d.ts 声明文件的工具

AutoJs6-VSCode-Extension by SuperMonster003

  • AutoJs6 调试器 (VSCode 平台插件)

打赏 (Tip)


查看详情 (Click to show details)
To tip online, scan the QR code below
扫描对应二维码可打赏

I believe I could make it better with your support :)
感谢每一份支持和鼓励

qr-alipay-sponsor_521×648 qr-wechat-sponsor_521×648

autojs6-typescript-declarations's People

Contributors

supermonster003 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.