Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing to electron-typescript-definitions
# Contributing to electron/typescript-definitions

## Code of Conduct

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This module uses Electron's [JSON API documentation](https://github.com/electron/docs-parser) to produce a TypeScript definition file for the Electron API.

[![CircleCI](https://dl.circleci.com/status-badge/img/gh/electron/typescript-definitions/tree/main.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/electron/typescript-definitions/tree/main)
[![npm version](http://img.shields.io/npm/v/@electron/typescript-definitions.svg)](https://npmjs.org/package/@electron/typescript-definitions)

## Installation

Expand All @@ -27,7 +28,7 @@ The module exports a function that parses a given API JSON object and returns
an array of lines to create the definition file

```js
const { generateDefinitions } = require('electron-typescript-definitions')
const { generateDefinitions } = require('@electron/typescript-definitions')
const apiPath = './vendor/electron/docs/api.json'

const definitionLines = generateDefinitions({ electronApi: require(apiPath) })
Expand Down
2 changes: 1 addition & 1 deletion base/base_header.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Type definitions for Electron <<VERSION>>
// Project: http://electronjs.org/
// Definitions by: The Electron Team <https://github.com/electron/electron>
// Definitions: https://github.com/electron/electron-typescript-definitions
// Definitions: https://github.com/electron/typescript-definitions

/// <reference types="node" />

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/electron/electron-typescript-definitions.git"
"url": "https://github.com/electron/typescript-definitions.git"
},
"files": [
"dist",
Expand Down