- We've got some components
A
,B
andC
which provide different slots.const A = { template: `<div><slot name="a">Default A Content</slot></div>` }
const B = {
package dev.flexicon.monads | |
sealed interface Option<out T> { | |
data class Some<T>(val value: T) : Option<T> | |
object None : Option<Nothing> | |
} | |
fun <T> some(value: T): Option<T> = Option.Some(value) |
async function wontThrowErr() { | |
return 'ok'; | |
} | |
async function mightThrowErr() { | |
throw new Error('oops'); | |
} | |
module.exports = { | |
mightThrowErr, |
declare -a NODE_GLOBALS=(`find ~/.nvm/versions/node -maxdepth 3 -type l -wholename '*/bin/*' | xargs -n1 basename | sort | uniq`) | |
NODE_GLOBALS+=("node") | |
NODE_GLOBALS+=("nvm") | |
load_nvm () { | |
export NVM_DIR=~/.nvm | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | |
} |