Skip to content

Instantly share code, notes, and snippets.

View TheFlyingFiddle's full-sized avatar

TheFlyingFiddle

  • sweden
View GitHub Profile
import * as React from 'react'
import * as ReactDOM from 'react-dom'
const Column: React.SFC<{data: any}> = (_data) => {
return (
<td><pre> {'Hi '+ _data.data} </pre></td>
);
}
const Row: React.SFC<{colums:number[]}> = (colums) => {
local encoding = require "encoding"
--This gist contains some simple usage of the
--encoding library. Specificaly this gist
--focuses on typed encoding.
--We start by defining a simple type
local types = encoding.types
local itemType = types.tuple{
{ field = "id", types.varint },