mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
Support 2.6; Add author; Use best practise to refactor code (#36074)
* initial types for agora-rtc-sdk * set strictFunctionTypes to true * fixed lint-related * fixed lint error throw by ci * <feat> support 2.6 & add author * <fix> fix umd support add `export` back to support umd * <chore> in temp disable rule: export-just-namespace, optimization will be done in next version
This commit is contained in:
@@ -10,8 +10,8 @@ let stream = AgoraRTC.createStream({
|
||||
screen: false
|
||||
});
|
||||
|
||||
client.init('74a0b7bb5d3e47c7abca0533d17b0afa', () => {
|
||||
client.join('74a0b7bb5d3e47c7abca0533d17b0afa', 'testyy', 21230, uid => {
|
||||
client.init('abc', () => {
|
||||
client.join('abc', 'testyy', 21230, uid => {
|
||||
stream.init(() => {
|
||||
client.publish(stream, err => {
|
||||
throw(err);
|
||||
|
||||
Vendored
+3324
-304
File diff suppressed because it is too large
Load Diff
@@ -1 +1,6 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"unified-signatures": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user