This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Maps JSX element tagnames -> HTMLElement interface | |
| // This allows automatic prop typing for JSX Tags | |
| // For custom JSX factories | |
| // Map all interface props | |
| type MapIntrinsicProps<e extends Element> = { | |
| [attr in keyof e]?: e[attr] extends {} ? Partial<e[attr]> : e[attr]; | |
| }; | |
| declare namespace JSX { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package main | |
| // package main | |
| import ( | |
| "context" | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import * as Knex from 'knex'; | |
| export async function up(knex: Knex): Promise<any> { | |
| return knex.schema.createTable('test_setup', (table: Knex.TableBuilder) => { | |
| table.integer('foobar'); | |
| }); | |
| } | |
| export async function down(knex: Knex): Promise<any> { | |
| return knex.schema.dropTable('test_setup'); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function longestString(strings) { | |
| var longString = '' | |
| strings.forEach((str => { | |
| longString = str.length > longString.length ? str : longString | |
| })) | |
| return longString | |
| } | |
| const strings1 = ['short', 'really, really long!', 'medium']; |