I hereby claim:
- I am kamiazya on github.
- I am kamiazya (https://keybase.io/kamiazya) on keybase.
- I have a public key ASDPp0nG5ktQexT-kAxRNgWCsTL0b3eKxd0rt4BMOrSEWAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Even if you use a query, it will be imported. | |
import './fixture.query.ts?1'; | |
// If the query is different, it will be loaded. | |
import './fixture.query.ts?2'; | |
// If the query is the same, the cached result will be used. | |
import './fixture.query.ts?2'; |
import React, { FC } from "react"; | |
import { ITable, INT, Database, VARCHAR, DATE, ENUM } from "./database"; | |
export const CompanyDirectoryDatabase: FC = () => { | |
const tables: ITable[] = [ | |
{ | |
name: "departments", | |
columns: { | |
department_id: new INT({ length: 11, autoIncrement: true }, "事業部ID"), | |
name: new VARCHAR({ length: 100 }, "名前"), |
<?php | |
interface DB { | |
public function findOne($query, $params); | |
public function findAll($query, $params); | |
} | |
interface Repositry { | |
public function getById(int $id); | |
} |
a = gets.to_i | |
b,c = gets.chomp.split(" ").map(&:to_i) | |
s = gets.chomp | |
print("#{a + b + c} #{s}\n") |
// config/jest/add-custom-matchers.ts | |
import toBeValidDot from '../../test/unit/customMatchers/toBeValidDot'; | |
expect.extend(toBeValidDot); |
import { Injectable, InjectionToken, Injector } from 'injection-js'; | |
type LifeCycleFunction = () => Promise<void>; | |
export const INITIALIZER = new InjectionToken<LifeCycleFunction>('application.life-cycle.initializer'); | |
export const TERMINATOR = new InjectionToken<LifeCycleFunction>('application.life-cycle.TERMINATOR'); | |
@Injectable() | |
export class Application { | |
constructor(private injector: Injector) {} |
abstract class Car { | |
protected buildId: string; | |
/** | |
* 製造番号 | |
*/ | |
public getBuildId(): string { | |
return this.buildId; | |
} |