Skip to content

Commit

Permalink
Remove '�' character (DefinitelyTyped#29420)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy authored Oct 3, 2018
1 parent aa6fe26 commit 6c955dc
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion types/ace/test/selection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const aceSelectionTests = {
},

"test: moveCursor word left with umlauts": function () {
var session = new AceAjax.EditSession(" Fu� F��e");
var session = new AceAjax.EditSession(" Fu¢ F¢¢e");

var selection = session.getSelection();
selection.moveCursorTo(0, 9)
Expand Down
2 changes: 1 addition & 1 deletion types/adone/glosses/utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ declare namespace adone {
| encoding.Multibyte;
}

const defaultCharUnicode: "�";
const defaultCharUnicode: string;

const defaultCharSingleByte: "?";

Expand Down
28 changes: 14 additions & 14 deletions types/azure/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ export declare class BlobService extends StorageServiceClient {
//#region Service Methods

/**
* Gets the properties of a storage accounts Blob service, including Azure Storage Analytics.
* Gets the properties of a storage account's Blob service, including Azure Storage Analytics.
*/
getServiceProperties(callback: StorageServicePropertiesCallback): void;
getServiceProperties(options: TimeoutIntervalOptions, callback: StorageServicePropertiesCallback): void;

/**
* Sets the properties of a storage accounts Blob service, including Azure Storage Analytics.
* Sets the properties of a storage account's Blob service, including Azure Storage Analytics.
* You can also use this operation to set the default request version for all incoming requests that do not have a version specified.
*/
setServiceProperties(serviceProperties: StorageServiceProperties, callback: StorageCallbackVoid): void;
Expand Down Expand Up @@ -256,7 +256,7 @@ export declare class BlobService extends StorageServiceClient {
setBlobProperties(container: string, blob: string, options: SetBlobPropertiesOptions, callback: StorageCallback<BlobResult>): void;

/**
* Sets user-defined metadata for the specified blob or snapshot as one or more name-value pairs
* Sets user-defined metadata for the specified blob or snapshot as one or more name-value pairs
* It does not return or modify the content of the blob.
*/
setBlobMetadata(container: string, blob: string, metadata: StorageMetadata, callback: StorageCallback<BlobResult>): void;
Expand Down Expand Up @@ -288,9 +288,9 @@ export declare class BlobService extends StorageServiceClient {

/**
* Marks the specified blob or snapshot for deletion. The blob is later deleted during garbage collection.
* If a blob has snapshots, you must delete them when deleting the blob. Using the deleteSnapshots option, you can choose either to delete both the blob and its snapshots,
* If a blob has snapshots, you must delete them when deleting the blob. Using the deleteSnapshots option, you can choose either to delete both the blob and its snapshots,
* or to delete only the snapshots but not the blob itself. If the blob has snapshots, you must include the deleteSnapshots option or the blob service will return an error
* and nothing will be deleted.
* and nothing will be deleted.
* If you are deleting a specific snapshot using the snapshotId option, the deleteSnapshots option must NOT be included.
*/
deleteBlob(container: string, blob: string, callback: StorageCallback<boolean>): void;
Expand Down Expand Up @@ -445,8 +445,8 @@ export declare class BlobService extends StorageServiceClient {
//#region Lease Methods

/**
* Acquires a new lease.
* If container and blob are specified, acquires a blob lease.
* Acquires a new lease.
* If container and blob are specified, acquires a blob lease.
* Otherwise, if only container is specified and blob is null, acquires a container lease.
*/
acquireLease(container: string, blob: string, callback: StorageCallback<LeaseResult>): void;
Expand Down Expand Up @@ -521,13 +521,13 @@ export declare class QueueService extends StorageServiceClient {
//#region Service Methods

/**
* Gets the properties of a storage accounts Blob service, including Azure Storage Analytics.
* Gets the properties of a storage account's Blob service, including Azure Storage Analytics.
*/
getServiceProperties(callback: StorageServicePropertiesCallback): void;
getServiceProperties(options: TimeoutIntervalOptions, callback: StorageServicePropertiesCallback): void;

/**
* Sets the properties of a storage accounts Blob service, including Azure Storage Analytics.
* Sets the properties of a storage account's Blob service, including Azure Storage Analytics.
* You can also use this operation to set the default request version for all incoming requests that do not have a version specified.
*/
setServiceProperties(serviceProperties: StorageServiceProperties, callback: StorageCallbackVoid): void;
Expand Down Expand Up @@ -684,7 +684,7 @@ interface RoleEnvironmentInterface extends events.EventEmitter {

/**
* Indicates whether the role instance is running in the Microsoft Azure
* environment. It is good practice to enclose any code that uses
* environment. It is good practice to enclose any code that uses
* service runtime in the isAvailable callback.
*/
isAvailable(callback: SimpleCallback<boolean>): void;
Expand All @@ -702,7 +702,7 @@ interface RoleEnvironmentInterface extends events.EventEmitter {

/**
* Retrieves the settings in the service configuration file.
*
*
* A role's configuration settings are defined in the service definition file.
* Values for configuration settings are set in the service configuration file.
* For more information on configuration settings, see the [Service Definition Schema](http://msdn.microsoft.com/en-us/library/windowsazure/ee758711.aspx)
Expand All @@ -719,10 +719,10 @@ interface RoleEnvironmentInterface extends events.EventEmitter {

/**
* Requests that the current role instance be stopped and restarted.
*
*
* Before the role instance is recycled, the Microsoft Azure load balancer takes the role instance out of rotation.
* This ensures that no new requests are routed to the instance while it is restarting.
*
*
* A call to `RequestRecycle` initiates the normal shutdown cycle. Microsoft Azure raises the
* `Stopping` event and calls the `OnStop` method so that you can run the necessary code to
* prepare the instance to be recycled.
Expand All @@ -731,7 +731,7 @@ interface RoleEnvironmentInterface extends events.EventEmitter {

/**
* Sets the status of the role instance.
*
*
* An instance may indicate that it is in one of two states: Ready or Busy. If an instance's state is Ready, it is
* prepared to receive requests from the load balancer. If the instance's state is Busy, it will not receive
* requests from the load balancer.
Expand Down
4 changes: 2 additions & 2 deletions types/bootpag/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ declare namespace JqueryBootpag {
leaps?: boolean;

/**
* next button text (default "�")
* next button text (default ???)
*/
next?: string;

/**
* prev button text (default "�")
* prev button text (default ???)
*/
prev?: string;

Expand Down
2 changes: 1 addition & 1 deletion types/bootstrap-maxlength/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ declare namespace BootstrapMaxlength {
*/
message?: string | ((currentText : string, maxLength: Number) => string),
/**
* If true the input will count using utf8 bytesize/encoding. For example: the '' character is counted as two characters.
* If true the input will count using utf8 bytesize/encoding. For example: the '¢' character is counted as two characters.
* @default false
*/
utf8?: boolean,
Expand Down
26 changes: 13 additions & 13 deletions types/codemirror/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ declare namespace CodeMirror {
The returned position will be the end of the changed range, after the change is applied. */
function changeEnd(change: EditorChange): Position;

/** It contains a string that indicates the version of the library. This is a triple of integers "major.minor.patch",
/** It contains a string that indicates the version of the library. This is a triple of integers "major.minor.patch",
where patch is zero for releases, and something else (usually one) for dev snapshots. */
var version: string;

/** An object containing default values for all options.
/** An object containing default values for all options.
You can assign to its properties to modify defaults (though this won't affect editors that have already been created). */
var defaults: any;

Expand Down Expand Up @@ -346,8 +346,8 @@ declare namespace CodeMirror {
/** Retrieves information about the token the current mode found before the given position (a {line, ch} object). */
getTokenAt(pos: CodeMirror.Position, precise?: boolean): Token;

/** This is a (much) cheaper version of getTokenAt useful for when you just need the type of the token at a given position,
and no other information. Will return null for unstyled tokens, and a string, potentially containing multiple
/** This is a (much) cheaper version of getTokenAt useful for when you just need the type of the token at a given position,
and no other information. Will return null for unstyled tokens, and a string, potentially containing multiple
space-separated style names, otherwise. */
getTokenTypeAt(pos: CodeMirror.Position): string;

Expand Down Expand Up @@ -426,7 +426,7 @@ declare namespace CodeMirror {
off(eventName: 'cursorActivity', handler: (instance: CodeMirror.Editor) => void ): void;

/** This event is fired before the selection is moved. Its handler may modify the resulting selection head and anchor.
Handlers for this event have the same restriction as "beforeChange" handlers they should not do anything to directly update the state of the editor. */
Handlers for this event have the same restriction as "beforeChange" handlers they should not do anything to directly update the state of the editor. */
on(eventName: 'beforeSelectionChange', handler: (instance: CodeMirror.Editor, selection: { head: CodeMirror.Position; anchor: CodeMirror.Position; }) => void ): void;
off(eventName: 'beforeSelectionChange', handler: (instance: CodeMirror.Editor, selection: { head: CodeMirror.Position; anchor: CodeMirror.Position; }) => void ): void;

Expand Down Expand Up @@ -537,20 +537,20 @@ declare namespace CodeMirror {
Note that line handles have a text property containing the line's content (as a string). */
eachLine(start: number, end: number, f: (line: CodeMirror.LineHandle) => void ): void;

/** Set the editor content as 'clean', a flag that it will retain until it is edited, and which will be set again
when such an edit is undone again. Useful to track whether the content needs to be saved. This function is deprecated
/** Set the editor content as 'clean', a flag that it will retain until it is edited, and which will be set again
when such an edit is undone again. Useful to track whether the content needs to be saved. This function is deprecated
in favor of changeGeneration, which allows multiple subsystems to track different notions of cleanness without interfering.*/
markClean(): void;
/** Returns a number that can later be passed to isClean to test whether any edits were made (and not undone) in the
meantime. If closeEvent is true, the current history event will be ‘closed’, meaning it can't be combined with further

/** Returns a number that can later be passed to isClean to test whether any edits were made (and not undone) in the
meantime. If closeEvent is true, the current history event will be ‘closed’, meaning it can't be combined with further
changes (rapid typing or deleting events are typically combined).*/
changeGeneration(closeEvent?: boolean): number;

/** Returns whether the document is currently clean — not modified since initialization or the last call to markClean if
/** Returns whether the document is currently clean — not modified since initialization or the last call to markClean if
no argument is passed, or since the matching call to changeGeneration if a generation value is given. */
isClean(generation?: number): boolean;


/** Get the currently selected code. */
getSelection(): string;
Expand All @@ -559,7 +559,7 @@ declare namespace CodeMirror {
getSelections(lineSep?: string): Array<string>;

/** Replace the selection with the given string. By default, the new selection will span the inserted text.
The optional collapse argument can be used to change this passing "start" or "end" will collapse the selection to the start or end of the inserted text. */
The optional collapse argument can be used to change this -- passing "start" or "end" will collapse the selection to the start or end of the inserted text. */
replaceSelection(replacement: string, collapse?: string): void;

/** start is a an optional string indicating which end of the selection to return.
Expand Down
4 changes: 2 additions & 2 deletions types/fast-stats/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface Bucket {
* A NodeJS library to do statistical analysis of numeric datasets.
* When doing statistical analysis of data, the most common usage pattern is to run multiple statistical methods on the same set of data. Some of these methods use others. For example, to calculate the standard deviation of a dataset, we first need the mean.
* Additionally, some methods can be calculated quickly as data is inserted, thereby reducing the number of loops required to run through the data during processing.
* Fast stats maintains a running cache of several summary values as data is inserted making final calculation very fast. It trades off a small amount of additional memory usage for a large reduction in execution time.
* Fast stats maintains a running cache of several summary values as data is inserted making final calculation very fast. It trades off a small amount of additional memory usage for a large reduction in execution time.
*/
export declare class Stats {
constructor(opts?: StatsOpts);
Expand Down Expand Up @@ -109,7 +109,7 @@ export declare class Stats {

/**
* Arithmetic Mean
* The arithmetic mean is calculated as the sum of all data points divided by the number of data points. This is useful for data sets that are fairly uniform, following a linear or binomial distribution. Use the amean() method or the `�()? method to get at it:
* The arithmetic mean is calculated as the sum of all data points divided by the number of data points. This is useful for data sets that are fairly uniform, following a linear or binomial distribution. Use the amean() method or the ???()? method to get at it:
*/
amean(): number;

Expand Down
2 changes: 1 addition & 1 deletion types/leaflet/v0/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ declare namespace L {

/**
* Function that will be used for converting GeoJSON coordinates to LatLng points
* (if not specified, coords will be assumed to be WGS84 standard[longitude, latitude]
* (if not specified, coords will be assumed to be WGS84 standard[longitude, latitude]
* values in degrees).
*/
coordsToLatLng?: (coords: any[]) => LatLng[];
Expand Down
20 changes: 10 additions & 10 deletions types/microsoft-live-connect/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,8 @@ declare namespace Microsoft.Live {
/**
* A value that specifies whether the event is publicly visible. Valid
* values are:
* - publicthe event is visible to anyone who can view the calendar.
* - private"�the event is visible only to the event owner.
* - public the event is visible to anyone who can view the calendar.
* - private the event is visible only to the event owner.
* @default "public"
*/
visibility: string;
Expand Down Expand Up @@ -696,8 +696,8 @@ declare namespace Microsoft.Live {
/**
* A value that specifies whether the event is publicly visible. Valid
* values are:
* - publicthe event is visible to anyone who can view the calendar.
* - private"�the event is visible only to the event owner.
* - public the event is visible to anyone who can view the calendar.
* - private the event is visible only to the event owner.
* @default "public"
*/
visibility?: string;
Expand Down Expand Up @@ -768,8 +768,8 @@ declare namespace Microsoft.Live {
/**
* A value that specifies whether the event is publicly visible. Valid
* values are:
* - publicthe event is visible to anyone who can view the calendar.
* - private"�the event is visible only to the event owner.
* - public the event is visible to anyone who can view the calendar.
* - private the event is visible only to the event owner.
* @default "public"
*/
visibility: string;
Expand Down Expand Up @@ -1042,10 +1042,10 @@ declare namespace Microsoft.Live {
source: string;
/**
* The type of this image of this particular size. Valid values are:
* full (maximum size: 2048 2048 pixels)
* - normal (maximum size 800 800 pixels)
* - album (maximum size 176 176 pixels)
* - small (maximum size 96 96 pixels)
* full (maximum size: 2048 x 2048 pixels)
* - normal (maximum size 800 x 800 pixels)
* - album (maximum size 176 x 176 pixels)
* - small (maximum size 96 x 96 pixels)
*/
type: string;
}
Expand Down
Loading

0 comments on commit 6c955dc

Please sign in to comment.