Skip to content

Instantly share code, notes, and snippets.

View Kureev's full-sized avatar
:octocat:
Taking a break from OSS

Alexey Kureev Kureev

:octocat:
Taking a break from OSS
View GitHub Profile
if (ts.isFunctionTypeNode(typeNode)) {
let argument: Schemify.TypeAnnotation;
this.checker
.getSignaturesOfType(type, ts.SignatureKind.Call)
/**
* At this moment, react-native doesn't support more than one argument
* (Event) passed back from the native side, however the implementation
* I wrote was designed to support multiple parameters (just in case).
*
* That said, I assume the "getParameters" to always return an array
@Kureev
Kureev / index.ts
Created October 1, 2020 15:13
How to initialize Flex with an `errorPage`
Flex
.provideLoginInfo(configuration, "#container")
.then(() => Flex.Manager.create(configuration))
.then(manager => { /* use manager here */ })
.catch(error => Flex.errorPage(error, "#container"));

Problem

I have an issue calling Obsidian.obtain. It seems that sometimes it throws exceeding max stack error. Fix it

Long story short: https://twitter.com/GcCarmeli/status/1645482647315988486

The idea was to embed the codebase and create a custom agent that will be able to fix the code using baby AI-inspired approach. Here are some high-level results. Whatever happens after this line is pure AI-generated output.

FIND RESULT:

 obtain, P = any>(