Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit44e9383

Browse files
committed
cleanup ts warnings
1 parent019a013 commit44e9383

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+22585
-3
lines changed

‎.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ npm-debug.log
66

77
# Testing
88
e2e
9-
src/__coverage__
10-
src/__tests__/__cache__

‎CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to[Semantic Versioning](http://semver.org/).
44

5+
##[0.14.0] - 2016-09-25
6+
- extract core-coderoad
7+
- minimized atom-coderoad to only Atom specific code
8+
59
##[0.13.3] - 2016-09-16
610
- display editable Final page
711

‎src/typings.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"globalDependencies": {
3+
"assertion-error":"registry:dt/assertion-error#1.0.0+20160316155526",
4+
"atom":"registry:dt/atom#0.0.0+20160505173316",
5+
"core-js":"registry:dt/core-js#0.0.0+20160725163759",
6+
"electron":"registry:env/electron#0.37.6+20160909065630",
7+
"emissary":"registry:dt/emissary#0.0.0+20160317120654",
8+
"es6-promise":"registry:dt/es6-promise#0.0.0+20160614011821",
9+
"jest":"registry:dt/jest#0.9.0+20160706021812",
10+
"jquery":"registry:dt/jquery#1.10.0+20160908203239",
11+
"mixto":"registry:dt/mixto#0.0.0+20160317120654",
12+
"node":"registry:dt/node#6.0.0+20160831021119",
13+
"pathwatcher":"registry:dt/pathwatcher#0.0.0+20160317120654",
14+
"q":"registry:dt/q#0.0.0+20160613154756",
15+
"redux":"registry:dt/redux#3.5.2+20160703092728",
16+
"rx":"npm:rx/ts/rx.all.d.ts",
17+
"space-pen":"registry:dt/space-pen#0.0.0+20160316155526",
18+
"status-bar":"registry:dt/status-bar#0.0.0+20160317120654",
19+
"text-buffer":"registry:dt/text-buffer#0.0.0+20160317120654"
20+
}
21+
}

‎src/typings/coderoad/core.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
declare module'core-coderoad'{
2+
exportdefaultfunctionmain(editor):any;
3+
}

‎src/typings/editor/index.d.ts

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
interfaceIEditor{
2+
action:IEditorActions;
3+
directory:string;
4+
name:'atom'|'vscode';
5+
grammar:{
6+
getFromScope(scope:string):any;
7+
tokenizeLines(lines:string[]):any;
8+
};
9+
version:{
10+
minVersion:string;
11+
label:string;
12+
failMessage:string;
13+
isAboveVersion(a:string,b:string):boolean;
14+
};
15+
issuesPath:string;
16+
Subscription:any;
17+
addRightPanel:any;
18+
}
19+
20+
interfaceIEditorActions{
21+
toggleDevTools():any;
22+
clearConsole():any;
23+
openDevTools():any;
24+
getEditor():any;
25+
openFolder():any;
26+
open(file:string,options?:Object):any;
27+
save():any;
28+
scroll(content:string):any;
29+
set(text:string):any;
30+
insert(text:string,options?:Object):any;
31+
writeFileFromContent(obj:{
32+
to:string;
33+
content:string;
34+
dir:string;
35+
}):void;
36+
writeFileFromFile(obj:{
37+
to:string;
38+
from:string;
39+
dir:string;
40+
tutorialDir:string;
41+
}):void;
42+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Generated by typings
2+
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/assertion-error/assertion-error.d.ts
3+
declare module'assertion-error'{
4+
classAssertionErrorimplementsError{
5+
constructor(message:string,props?:any,ssf?:Function);
6+
name:string;
7+
message:string;
8+
showDiff:boolean;
9+
stack:string;
10+
}
11+
export=AssertionError;
12+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"resolution":"main",
3+
"tree": {
4+
"src":"https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/assertion-error/assertion-error.d.ts",
5+
"raw":"registry:dt/assertion-error#1.0.0+20160316155526",
6+
"typings":"https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/assertion-error/assertion-error.d.ts"
7+
}
8+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
declare module'atom-plugin-command-line'{
2+
exportdefaultfunctioncommandLine(root:string,commands?:string):Promise<string>;
3+
}

‎src/typings/globals/atom/custom.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
declare module'atom'{
2+
exportinterfaceCompositeDisposable{
3+
constructor:()=>any;
4+
dispose:()=>any;
5+
add:(...disposables:AtomCore.Disposable[])=>any;
6+
remove:(disposable:AtomCore.Disposable)=>any;
7+
clear:()=>any;
8+
}
9+
exportvarCompositeDisposable;
10+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp