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
<form> | |
<select id="my-select"> | |
<option value="1">1</option> | |
<option value="2">2</option> | |
</select> | |
<input type="text" data-conditional="my-select" data-conditional-on="1" /> | |
</form> |
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
declare module 'admin-on-rest' { | |
function jsonServerRestClient(url: string): Promise<{type: string, resource: string, param: {}}>; | |
class Admin extends React.Component<{ | |
restClient: Promise<{type: string, resource: string, param: {}}>, | |
title ?: string, | |
dashboard?: React.Component<void, void>, | |
theme?: __MaterialUI.Styles.MuiTheme, | |
appLayout?: React.Component<void, void> | |
}, void> {} |
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
declare module 'Expo' { | |
import { EventSubscription } from 'fbemitter'; | |
import { Component } from 'react'; | |
import { ViewStyle, ViewProperties, ColorPropType } from 'react-native'; | |
/** | |
* Expo Accelerometer | |
*/ | |
export namespace Accelerometer { | |
// TODO: good export type of x, y and z |
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 { browser } from '$app/environment'; | |
import { useConvexClient } from 'convex-svelte'; | |
import { ConvexClient } from 'convex/browser'; | |
import { | |
type FunctionReference, | |
type FunctionArgs, | |
type FunctionReturnType, | |
type PaginationOptions, | |
type PaginationResult, | |
type DefaultFunctionArgs |