This process would likely apply to other Homebrew formula also.
First search for your desired package:
brew search go
You should get a list of results that include the below. Not "go" is very unspecific so you may get a lot of results:
This process would likely apply to other Homebrew formula also.
First search for your desired package:
brew search go
You should get a list of results that include the below. Not "go" is very unspecific so you may get a lot of results:
{ | |
"name": "$GITHUB_REPOSITORY_NAME", | |
"description": "$GITHUB_REPOSITORY_DESCRIPTION", | |
"keywords": [ | |
"nodejs", | |
"esm" | |
], | |
"version": "1.0.0", | |
"license": "$GITHUB_REPOSITORY_LICENSE", | |
"author": "$AUTHOR", |
{ | |
"extensions": { | |
"recommendations": [ | |
"bierner.github-markdown-preview", | |
"dbaeumer.vscode-eslint", | |
"editorconfig.editorconfig", | |
"esbenp.prettier-vscode", | |
"mrmlnc.vscode-json5" | |
] | |
}, |
# http://editorconfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_style = space |
export function* sequence<T extends readonly unknown[] = readonly unknown[]>( | |
sagas: readonly ((...args: T) => Generator<unknown, void>)[], | |
args: T | |
) { | |
for (const saga of sagas) { | |
yield* saga(...args); | |
} | |
} |
ARG MONGO_VERSION | |
FROM mongo:${MONGO_VERSION} | |
RUN mkdir -p /data/keyfile | |
RUN openssl rand -base64 741 > /data/keyfile/keyfile | |
RUN chown -R mongodb:mongodb /data/keyfile | |
RUN chmod 600 /data/keyfile/keyfile |
diff --git a/node_modules/@types/koa-compose/index.d.ts b/node_modules/@types/koa-compose/index.d.ts | |
index 3658a8f..c216d3a 100644 | |
--- a/node_modules/@types/koa-compose/index.d.ts | |
+++ b/node_modules/@types/koa-compose/index.d.ts | |
@@ -50,7 +50,7 @@ declare function compose<T1, U1, T2, U2, T3, U3, T4, U4, T5, U5, T6, U6, T7, U7, | |
declare function compose<T>(middleware: Array<compose.Middleware<T>>): compose.ComposedMiddleware<T>; | |
declare namespace compose { | |
- type Middleware<T> = (context: T, next: () => Promise<any>) => any; | |
+ type Middleware<T, U = any> = (this: U, context: T, next: () => Promise<any>) => any; |
diff --git a/node_modules/@types/koa/index.d.ts b/node_modules/@types/koa/index.d.ts | |
index df6d5f8..64557e0 100644 | |
--- a/node_modules/@types/koa/index.d.ts | |
+++ b/node_modules/@types/koa/index.d.ts | |
@@ -310,7 +310,7 @@ declare interface ContextDelegatedResponse { | |
/** | |
* Get/Set response body. | |
*/ | |
- body: any; | |
+ body: unknown; |
declare module '30-seconds-of-code' { | |
// tslint:disable-next-line: no-any | |
export function isEmpty<T extends any, P extends string>( | |
value: T | |
): T extends object ? (P extends keyof T ? false : true) : T extends string ? boolean : true; | |
} |