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
1 change: 0 additions & 1 deletion attw.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@
"opencc-js",
"opentok",
"osmtogeojson",
"page-flip",
"pako",
"parse-listing",
"parse/v1",
Expand Down
1 change: 0 additions & 1 deletion types/babel-types/babel-types-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "./ts3.6/babel-types-tests";
import traverse from "babel-traverse";
import * as t from "babel-types";

Expand Down
2 changes: 0 additions & 2 deletions types/bmapgl-browser/bmapgl-browser-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import "bmapgl";

class TestFixture {
// document: http://lbsyun.baidu.com/index.php?title=jspopularGL
createMap(container: string | HTMLElement) {
Expand Down
3 changes: 2 additions & 1 deletion types/chai-arrays/chai-arrays-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="chai/register-should" />

import ChaiArrays = require("chai-arrays");
import "chai/register-should";

declare const assert: Chai.AssertStatic;
declare const expect: Chai.ExpectStatic;
Expand Down
3 changes: 2 additions & 1 deletion types/chai-fs/chai-fs-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="chai/register-should" />

import Chaifs = require("chai-fs");
import "chai/register-should";

declare const assert: Chai.AssertStatic;
declare const expect: Chai.ExpectStatic;
Expand Down
3 changes: 2 additions & 1 deletion types/chai-json-schema/chai-json-schema-tests.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/// <reference types="chai/register-should" />

import ChaiJsonSchema = require("chai-json-schema");
import { TV4 } from "tv4";
import "chai/register-should";

declare const assert: Chai.AssertStatic;
declare const expect: Chai.ExpectStatic;
Expand Down
3 changes: 2 additions & 1 deletion types/chai-like/chai-like-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="chai/register-should" />

import chaiLike = require("chai-like");
import "chai/register-should";

declare const expect: Chai.ExpectStatic;

Expand Down
2 changes: 1 addition & 1 deletion types/chai-spies/chai-spies-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="chai/register-should" />
import spies = require("chai-spies");
import "chai/register-should";
import("chai").then(({ use }) => {
const chai = use(spies);

Expand Down
3 changes: 2 additions & 1 deletion types/chai-string/chai-string-tests.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/// <reference types="chai/register-should" />

declare const assert: Chai.AssertStatic;
declare const expect: Chai.ExpectStatic;

import chai_string = require("chai-string");
import("chai").then(({ use }) => use(chai_string));
import "chai/register-should";

// Stub mocha functions
const { describe, it, before, after, beforeEach, afterEach } = null as any as {
Expand Down
2 changes: 1 addition & 1 deletion types/chai-subset/chai-subset-tests.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import chaiSubset = require("chai-subset");

import("chai").then(({ use }) => use(chaiSubset));
import "chai/register-should";

declare const assert: Chai.AssertStatic;
declare const expect: Chai.ExpectStatic;

Expand Down
4 changes: 2 additions & 2 deletions types/dirty-chai/dirty-chai-tests.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/// <reference types="chai/register-should" />

import chaiAsPromised = require("chai-as-promised");
import("chai").then(chai => chai.use(chaiAsPromised));

import dirtyChai = require("dirty-chai");
import("chai").then(chai => chai.use(dirtyChai));

import "chai/register-should";

declare const expect: Chai.ExpectStatic;

// mocha-like stubs so we don't need to use mocha typings
Expand Down
9 changes: 0 additions & 9 deletions types/gun/gun-tests.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
import GunServer = require("gun");
import Gun = require("gun/gun");
import "gun/lib/path.js";
import "gun/lib/not.js";
import "gun/lib/open.js";
import "gun/lib/load.js";
import "gun/lib/then.js";
import "gun/lib/bye.js";
import "gun/lib/later.js";
import "gun/lib/unset.js";
import "gun/lib/time.js";

GunServer("http://yourdomain.com/gun");
Gun(["http://server1.com/gun", "http://server2.com/gun"]);
Expand Down
1 change: 0 additions & 1 deletion types/hapi/test/server/server-events.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// https://github.com/hapijs/hapi/blob/master/API.md#-servereventevents
import { Server, ServerEvents } from "hapi";
import Podium = require("podium");
import "hapi/definitions/server/server";

declare module "hapi" {
interface ServerEvents {
Expand Down
1 change: 0 additions & 1 deletion types/hapi/v17/test/server/server-events.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// https://github.com/hapijs/hapi/blob/master/API.md#-servereventevents
import { Server, ServerEvents } from "hapi";
import Podium = require("podium");
import "hapi/definitions/server/server";

declare module "hapi" {
interface ServerEvents {
Expand Down
10 changes: 4 additions & 6 deletions types/karma-chai/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import "chai";
/// <reference types="chai" />

declare global {
var assert: Chai.AssertStatic;
var expect: Chai.ExpectStatic;
var should: Chai.Should;
}
declare var assert: Chai.AssertStatic;
declare var expect: Chai.ExpectStatic;
declare var should: Chai.Should;
8 changes: 2 additions & 6 deletions types/karma-chai/karma-chai-tests.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/// <reference types="chai" />
import "chai/register-should";
/// <reference types="karma-chai" />

declare const expect: Chai.ExpectStatic;
declare const assert: Chai.AssertStatic;

true.should.be.ok;
expect(true).to.be.ok;
assert.isTrue(true);
should.equal(true, true);
1 change: 0 additions & 1 deletion types/node/v18/node-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import "./test/crypto";
import "./test/dgram";
import "./test/diagnostics_channel";
import "./test/dns";
import "./test/dom-events"; // dom-events behaves differently under lib-dom
import "./test/events";
import "./test/events_generic";
import "./test/fs";
Expand Down
2 changes: 1 addition & 1 deletion types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190066,7 +190066,7 @@ declare namespace PowerPoint {
*/
text?: string;
/**
* Specifies the contents of the table cell as an array of {@link TextRun} objects.
* Specifies the contents of the table cell as an array of {@link PowerPoint.TextRun} objects.
Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
*
* @remarks
Expand Down
2 changes: 1 addition & 1 deletion types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132128,7 +132128,7 @@ declare namespace PowerPoint {
*/
text?: string;
/**
* Specifies the contents of the table cell as an array of {@link TextRun} objects.
* Specifies the contents of the table cell as an array of {@link PowerPoint.TextRun} objects.
Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
*
* @remarks
Expand Down
1 change: 0 additions & 1 deletion types/page-flip/dist/PageFlip.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Page } from "./Page/Page";
import { Orientation, Render } from "./Render/Render";
import { FlipSetting } from "./Settings";
import { UI } from "./UI/UI";
import "./Style/stPageFlip.css";
/**
* Class representing a main PageFlip object
*/
Expand Down
5 changes: 0 additions & 5 deletions types/rangy/rangy-tests.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import * as rangy from "rangy";
import "rangy/lib/rangy-classapplier";
import "rangy/lib/rangy-highlighter";
import "rangy/lib/rangy-selectionsaverestore";
import "rangy/lib/rangy-serializer";
import "rangy/lib/rangy-textrange";

declare function assertAny(a: any): any;
declare function assertBoolean(b: boolean): any;
Expand Down
1 change: 0 additions & 1 deletion types/react-katex/react-katex-tests.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "katex/dist/katex.min.css";
import * as React from "react";
import { BlockMath, InlineMath } from "react-katex";

Expand Down
1 change: 0 additions & 1 deletion types/react-smartbanner/react-smartbanner-tests.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from "react";
import SmartBanner from "react-smartbanner";
import "react-smartbanner/dist/main.css";

const EmptySmartBanner: React.FC = () => {
// @ts-expect-error required parameter 'position' is missing
Expand Down
1 change: 0 additions & 1 deletion types/redux-shortcuts/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Action, ActionCreator, Dispatch } from "redux";
import Mousetrap = require("mousetrap");
import "mousetrap/extensions/global";

export { Mousetrap };
export const mousetrap: Mousetrap.MousetrapInstance;
Expand Down
2 changes: 0 additions & 2 deletions types/splitting/splitting-tests.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import Splitting = require("splitting");
import "splitting/dist/splitting.css";
import "splitting/dist/splitting-cells.css";

// Base splitting function

Expand Down
1 change: 0 additions & 1 deletion types/tablesorter/test/Methods.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "./Tests";
import {
ParsedCell,
Parser,
Expand Down
1 change: 0 additions & 1 deletion types/vue-moment/vue-moment-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import moment from "moment";
import "moment/locale/de";
import Vue from "vue";
import VueMoment from "vue-moment";

Expand Down
1 change: 0 additions & 1 deletion types/vue3-carousel-3d/vue3-carousel-3d-tests.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { createApp } from "vue";
import { Carousel3d, Slide } from "vue3-carousel-3d";
import "vue3-carousel-3d/dist/index.css";

createApp({
components: {
Expand Down
1 change: 0 additions & 1 deletion types/wonder.js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,6 @@ declare module "wonder.js/dist/es2015/core/Component" {
declare module "wonder.js/dist/es2015/core/Director" {
import "wonder-frp/dist/es2015/stream/ConcatStream";
import "wonder-frp/dist/es2015/stream/IgnoreElementsStream";
import "wonder-frp/dist/es2015/extend/root";
import { SceneDispatcher } from "wonder.js/dist/es2015/core/entityObject/scene/SceneDispatcher";
import { Renderer } from "wonder.js/dist/es2015/renderer/renderer/Renderer";
export class Director {
Expand Down